Total guess; math calculations in IF?
Robert
Total guess; math calculations in IF?
Robert
Hi,
They are more macros, move word to word, move constant to byte and so on. You should be able to find the actual code that those macros consists of at the same place you found the code for "top level" CMPGT?WCL macro.o what is MOVE?WW, MOVE?CB and MOVE?CA oh and L?CALL and BIT?GOTO... Like... seriously!
/Henrik.
Henrik, i already looked... It's not in the MAC file...
It looks like it's embedded into PBP... which is not helpful...
They are in the .lib file for the device family you're targeting, from pbppic14.lib for example:Hope that's helpful....Code:;**************************************************************** ;* MOVE?WW : Macro - Move WORD variable into WORD variable * ;* * ;* Input : Win = WORD variable * ;* Output : Wout = WORD variable * ;* * ;* Notes : * ;**************************************************************** MOVE?WW macro Win, Wout MOVE?BB Win, Wout MOVE?BB (Win) + 1, (Wout) + 1 endm
/Henrik.
Thats wonderful... I think that's everything i was missing...
However why does the pic18 lib and macro's have bank checking routines when, according to the data-sheet the ram and program memory maps are laid out in a linear sequential manner and not in banks?
Unless i'm missing something?
Bookmarks