PUSH XARn
6-297
PUSH XARn
Push 32-bit Auxiliary Register Onto Stack
SYNTAX OPTIONS
OPCODE
OBJMODE
RPT
CYC
PUSH XAR0
0011 1010 1011 1101
1
−
1
PUSH XAR1
1011 0010 1011 1101
1
−
1
PUSH XAR2
1010 1010 1011 1101
1
−
1
PUSH XAR3
1010 0010 1011 1101
1
−
1
PUSH XAR4
1010 1000 1011 1101
1
−
1
PUSH XAR5
1010 0000 1011 1101
1
−
1
PUSH XAR6
1100 0010 1011 1101
X
−
1
PUSH XAR7
1100 0011 1011 1101
X
−
1
Operands
XARn
XAR0 to XAR7, 32-bit auxiliary register
Description
Push the 32-bit contents of XARn onto the stack pointed to by SP.
Post-increment
SP by 2:
[SP] = XARn;
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
IntX:
PUSH AR1H:AR0H
PUSH
XAR2
PUSH
XAR3
PUSH
XAR4
PUSH
XAR5
PUSH
XAR6
PUSH
XAR7
PUSH
XT
.
.
.
; Full context save code for an
; interrupt or trap function
; 16-bit AR1H and 16-bit AR0H store
; 32-bit store of XAR2
; 32-bit store of XAR3
; 32-bit store of XAR4
; 32-bit store of XAR5
; 32-bit store of XAR6
; 32-bit store of XAR7
; 32-bit store of XT
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...