PushSTAT (DW $049)
|Description:||Push the contents of W onto the "STATstack"|
|Operation:||STATStack[SSP++] = W|
|Details:||Secret Instructions Page|
|Microchip PIC syntax:||n/a|
The STATstack is only two levels deep and is used by both the interrupt and the debug system. If you don't set a breakpoint or happen to break into debug while in an ISR, you can use one level without concern. If you don't use interrupts or debug, you can use both levels.
To use this instruction, first define the following macro.
pushSTAT macro DW $049 endm
|file: /Techref/scenix/inst/pushSTAT.htm, 1KB, , updated: 2004/12/13 17:56, local time: 2018/9/18 21:08,
|©2018 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://techref.massmind.org/techref/scenix/inst/pushSTAT.htm"> SX Instruction PushSTAT</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to techref.massmind.org!