PUSH RPC
6-293
PUSH RPC Push RPC Onto Stack
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
PUSH RPC 0000 0000 0000 0100 X − 1
Operands RPC Return program counter register
Description Push the contents of the RPC register onto the stack pointed to by SP.
Post-increment SP by 2:
[SP] = RPC;
SP += 2;
Flags and
Modes
None
Repeat This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.