PDA

View Full Version : PBP method to POP or PUSH to 18F2525 stack?



jellis00
- 26th September 2009, 04:31
Am programming an 18F2525 with PBP 2.6. The 18F family permits program addressing of the hardware stack and has a PUSH and POP command in the instruction set to do this. I need to PUSH and POP data to the 18F hardware stack as part of a PBPro routine to display data on an OLED display. I can't figure out how to do it in PBPro. Anyone have any ways to do this or ideas/references?

Charles Linquis
- 26th September 2009, 20:09
You can issue any ASM command by using either the

@ (ASM command)


or


ASM

(ASM command)
(ASM command)
...

ENDASM


syntax