I have been stumped for the longest time trying to figure out how to transfer variables between PBP and assembly.
After looking at a bunch of examples, it appears that when I'm in an assembly language routine, all I have to do is put an underscore in front of a PBP variable name and I can transfer the contents of that variable between assembly and PBP.

Will this always work? Do I have to worry about banks?
I only use 18F parts.