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: | $048 |
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.
To use this instruction, first define the following macro.
PushW macro DW $048 endm
file: /Techref/scenix/inst/pushW.htm, 1KB, , updated: 2004/12/13 17:45, local time: 2024/11/15 08:27,
18.224.31.236:LOG IN
|
©2024 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://massmind.ecomorder.com/techref/scenix/inst/pushW.htm"> SX Instruction PushW</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.