Texas Instruments TMS320C28x Reference Manual page 448

Dsp cpu and instruction set
Table of Contents

Advertisement

PUSH loc16
SYNTAX OPTIONS
PUSH loc16
Operands
loc16
Description
Flags and
Modes
Repeat
Example
PUSH @T
PUSH @AL
PUSH @AR4
PUSH *XAR4++
0010 0010 LLLL LLLL
Addressing mode (see Chapter 5)
Push a 16-bit value pointed to by the "loc16" operand on the stack pointed to
by SP.
Post-increment SP by 1:
[SP] = [loc16];
SP += 1;
None
This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.
Push 16-bit Value on Stack
OPCODE
; Push the contents of XT(31:15) into
; the location pointed to by
; SP. Post-increment SP by 1
; Push the contents of AL onto into
; the location pointed to by
; SP. Post-increment SP by 1
; Push the lower 16-bits of XAR4 into
; the location pointed to by
; SP. Post-increment SP by 1
; Push the value pointed to by XAR4
; into the location pointed to
; by SP. Post-increment SP and XAR4
; by 1
PUSH loc16
OBJMODE
RPT
CYC
X
2
6-291

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