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
Summary of Contents for TMS320C28x
Page 30: ...1 12...
Page 80: ...This page intentionally left blank 2 50 This page intentionally left blank...
Page 269: ...IN loc16 PA 6 112 MOV AL 0 AL 0 UOUT IORegC AL IOspace IORegC AL 10...
Page 308: ...MAXCUL P loc32 6 151 Saturate MOVL Var64 2 ACC Store result into Var64 MOVL Var64 P...
Page 509: ...SUBL ACC P PM 6 352 SUBL ACC P PM ACC S B 11 M X 4 MOVH Y ACC 5 Store Q15 result into Y...
Page 585: ...This page intentionally left blank 7 32 This page intentionally left blank...