Re: CAN header and EXT asm question
what you propose makes little sense to me, keep in mind my canbus knowledge is poor.
1. there are only 8 B2Dx type registers , to index past that leads you to all sorts of different register types
2. B2D0 is neither the top or the bottom of the BnDx type registers why start there
something like
@CAN_BufferB2 = B2D0 'load CAN_Buffer with the address of B2D0
@CAN_BufferB1 = B1D0
CAN_BufferB2 VAR BYTE EXT 'tell PBP it is byte sized but doesn't need to assign space
CAN_BufferB1 VAR BYTE EXT
might make mores sense
I think I can then point at the next address by using CAN_Buffer+1 = .......
more like CAN_BufferB2[0+index] = .......
or
CAN_BufferB1[index] = .......
index=index+1
Its hard to see what you would gain.
Warning I'm not a teacher
Bookmarks