As you see there is a label without any thing. What happens when program jumps to this part especially after "goto OverStack"
it just jump over the macro and subroutine, Don't forget, when you use INCLUDE, it basically just paste the whole code to yours, this is to avoid compilation error and some program weirdness like stack underflow with the first returns.
There are some unknown instructions in asm parts for example:
CHK?RP
L?CALL
How can I interpret them?
Both are PBP macro
CHK?RP x : is to PBP what BANKSEL is to asm, it check the BANK of x register/variable.
L?CALL label : basically not much than a GOSUB but at PBP assembler level.
Have a look at the following
http://www.picbasic.co.uk/forum/show...09&postcount=3
None of the PBP macro are documented in a manual, just because it's not everybody that will use them anyways.
To output your data to a LCD, replace HSEROUT with LCDOUT.
HTH
Last edited by mister_e; - 13th December 2007 at 14:12.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks