PushW (DW $048) |
|
| Description: | Push the contents of W onto the "WStack" |
| Operation: | WStack[WSP++] = W |
| Flags affected: | ? |
| Registers affected: | WStack |
| Sources referenced: | W |
| Cycles: | 1 |
| Opcode: | |
| Details: | Secret Instructions Page |
| Microchip PIC syntax: | n/a |
| Notes: | |
The WStack 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.