PUSH ACC
6-284
PUSH ACC Push Accumulator Onto Stack
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
PUSH ACC 0001 1110 1011 1101 X − 2
Note: This instruction is an alieas for the MOV*SP++, ACC instruction.
Operands ACC Accumulator register
Description Push the 32-bit contents of ACC onto the stack pointed to by SP.
Post-increment SP by 2:
[SP] = ACC;
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.
Example
MOVL XAR4, #VarA
MOVL ACC, *+XAR4[0]
PUSH ACC
; Initialize XAR4 pointer with the
; 22-bit address of VarA
; Load the 32-bit contents of VarA
; into ACC
; Push the 32-bit ACC into the
; location pointed to by SP.
; Post-increment SP by 2