kthomas
Joined: 06 Jul 2010 Posts: 5
|
Table Page and Table Offset |
Posted: Wed Jul 07, 2010 2:11 pm |
|
|
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? |
|