EasyManua.ls Logo

Texas Instruments TMS320C28x

Texas Instruments TMS320C28x
695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PUSH AR1H:AR0H
6-286
PUSH AR1H:AR0H Push AR1H and Ar0H Registers on Stack
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
PUSH AR1H:AR0H 0000 0000 0000 0101 X 1
Operands
AR1H:
AR0H
Upper 16-bits of XAR1 and XAR0 auxiliary registers
Description Push the contents of AR0H followed by the contents of AR1H onto the stack
pointed to by SP.
Post-increment SP by 2:
[SP] = AR0H
[SP+1] = AR1H;
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

Table of Contents

Related product manuals