I found this thread quite interesting: https://www.microchip.com/forums/tm.aspx?m=375731
Be sure to check the links on page 2.
The authors are quite adamant that a directive such as, Flag equ 0x20 or its CBlock equivalent assigns the value 0x20 to the string "Flag," rather than assigning that label to a register. Nevertheless, examples show how it can be used successfully as if the register contents were identified by Flag. Problems are also illustrated.
If you are using absolute code, what do you do?
Is the practice of using Udata (and its variants) and Res to assign a register gaining in popularity even with absolute coders?
John
Be sure to check the links on page 2.
The authors are quite adamant that a directive such as, Flag equ 0x20 or its CBlock equivalent assigns the value 0x20 to the string "Flag," rather than assigning that label to a register. Nevertheless, examples show how it can be used successfully as if the register contents were identified by Flag. Problems are also illustrated.
If you are using absolute code, what do you do?
Is the practice of using Udata (and its variants) and Res to assign a register gaining in popularity even with absolute coders?
John