CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Table Page and Table Offset

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
kthomas



Joined: 06 Jul 2010
Posts: 5

View user's profile Send private message

Table Page and Table Offset
PostPosted: Wed Jul 07, 2010 2:11 pm     Reply with quote

I am trying to implement an errata fix for the dsPIC30F5011 (Item 16 in the dsPIC30F5011 errata) but the example is written in ASM30. The errata says to do the following (loading a new return address onto the stack):
Code:

POP.D W0
MOV.B #tblpage( addr ), W1
MOV #tbloffset( addr ), W0
PUSH.D W0

But CCS won't allow the #tblpage/#tbloffset directives and I'm not completely clear where to get the page information without that directive. Is there another way to do this without using those directives?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group