Texas Instruments TMS320C28x Reference Manual page 454

Dsp cpu and instruction set
Table of Contents

Advertisement

PUSH XARn
SYNTAX OPTIONS
PUSH XAR0
PUSH XAR1
PUSH XAR2
PUSH XAR3
PUSH XAR4
PUSH XAR5
PUSH XAR6
PUSH XAR7
Operands
XARn
Description
Flags and
Modes
Repeat
Example
IntX:
PUSH
PUSH
PUSH
PUSH
PUSH
PUSH
PUSH
PUSH
XAR0 to XAR7, 32-bit auxiliary register
Push the 32-bit contents of XARn onto the stack pointed to by SP.
Post-increment
SP by 2:
[SP] = XARn;
SP += 2;
None
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
AR1H:AR0H
XAR2
XAR3
XAR4
XAR5
XAR6
XAR7
XT
.
.
.
Push 32-bit Auxiliary Register Onto Stack
OPCODE
0011 1010 1011 1101
1011 0010 1011 1101
1010 1010 1011 1101
1010 0010 1011 1101
1010 1000 1011 1101
1010 0000 1011 1101
1100 0010 1011 1101
1100 0011 1011 1101
; 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
PUSH XARn
OBJMODE
RPT
CYC
1
1
1
1
1
1
1
1
1
1
1
1
X
1
X
1
6-297

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C28x and is the answer not in the manual?

Table of Contents

Save PDF