No problem,
Let's say you have a WORD variable in BANK0 ... (It should be in BANK0).
TempWord VAR WORD BANK0
in ASM, the LowByte comes first, so that's at the address of the variable itself.
movwf _TempWord
The HighByte is 1 address more
movwf _TempWord + 1
Bookmarks