Variables in PBP are all "global". I.E. once a value is placed in a variable, it stays there until you change it or reset the PIC, and any sub-routine can access any variable.
If you need to know the physical address of a variable, look in the .lst file after compile.
Note the name given to a variable is actually the RAM address everything is stored in when the variable name is used.
Bookmarks