| Stack Manipulation |
| Mnemonic | Operand (Size) | Description | Opcode | Flags Affected |
|---|
| pushlb | LB (1) | push literal byte | 0x01 | N,Z |
| pushls | LS (2) | push literal short | 0x02 | N,Z |
| pushmb | PORT (2) | push byte from PORT to stack top | 0x03 | N,Z |
| pushmbx | - | pop short as PORT, push byte from PORT to stack top | 0x04 | N,Z |
| pushms | PORT (2) | push short from PORT to stack top | 0x05 | N,Z |
| pushmsx | - | pop short as PORT, push short from PORT to stack top | 0x06 | N,Z |
| pushsb | IX (1) | push byte at IX to stack top | 0x07 | N,Z |
| pushsbx | - | pop byte as IX, push byte at IX to stack top | 0x08 | N,Z |
| pushss | IX (1) | push short at IX to stack top | 0x09 | N,Z |
| pushssx | - | pop byte as IX, push short at IX to stack top | 0x0A | N,Z |
| pushsba | AX (2) | push byte at AX to stack top | 0x0B | N,Z |
| pushsbax | - | pop short as AX, push byte at AX to stack top | 0x0C | N,Z |
| pushssa | AX (2) | push short at AX to stack top | 0x0D | N,Z |
| pushssax | - | pop short as AX, push short at AX to stack top | 0x0E | N,Z |
| pushn | N (1) | push N bytes onto stack | 0x0F | - |
| pushnx | - | pop byte as N, push N bytes onto stack | 0x10 | - |
| popbm | PORT (2) | pop byte into PORT | 0x13 | - |
| popbmx | - | pop short as PORT, pop byte into PORT | 0x14 | - |
| popsm | PORT (2) | pop short into PORT | 0x15 | - |
| popsmx | - | pop short as PORT, pop short into PORT | 0x16 | - |
| popbs | IX (1) | pop byte into stack at IX | 0x17 | - |
| popbsx | - | pop byte as IX, pop byte into stack at IX | 0x18 | - |
| popss | IX (1) | pop short into stack at IX | 0x19 | - |
| popssx | - | pop byte as IX, pop short into stack at IX | 0x1A | - |
| popbsa | AX (2) | pop byte into stack at AX | 0x1B | - |
| popbsax | - | pop short as AX, pop byte into stack at AX | 0x1C | - |
| popssa | AX (2) | pop short into stack at AX | 0x1D | - |
| popssax | - | pop short as AX, pop short into stack at AX | 0x1E | - |
| popcmd | - | pop command packet from stack, execute command | 0x1F | - |
| popb | - | pop byte, set flags based on popped value | 0x20 | N,Z |
| pops | - | pop short, set flags based on popped value | 0x21 | N,Z |
| popn | N (1) | pop N bytes off the stack | 0x22 | - |
| popnx | - | pop byte as N, pop N bytes off the stack | 0x23 | - |
| convbs | - | pop byte, convert it to short, push new short | 0x11 | - |
| convsb | - | pop short, convert it to byte, push new byte | 0x12 | C |
| fmtbb | - | pop byte, push binary ASCII string | 0x4B | - |
| fmtbd | - | pop byte, push signed decimal ASCII string | 0x4C | - |
| fmtbu | - | pop byte, push unsigned decimal ASCII string | 0x4D | - |
| fmtbh | - | pop byte, push hexadecimal ASCII string | 0x4E | - |
| fmtsb | - | pop short, push binary ASCII string | 0x4F | - |
| fmtsd | - | pop short, push signed decimal ASCII string | 0x50 | - |
| fmtsu | - | pop short, push unsigned decimal ASCII string | 0x51 | - |
| fmtsh | - | pop short, push hexadecimal ASCII string | 0x52 | - |
© Copyright 1994-2008 Acroname, Inc., Boulder, Colorado. All rights reserved.