Texas Instruments TMS320C28x Reference Manual page 449

Dsp cpu and instruction set
Table of Contents

Advertisement

PUSH P
PUSH P
SYNTAX OPTIONS
PUSH P
Operands
P
Description
Flags and
Modes
Repeat
Example
MOVL XAR5, #VarA
MOVL P,
PUSH P
6-292
0111 0110 0001 1101
Product register
Push the 32-bit contents of P onto the stack pointed to by SP
Post-increment SP by 2:
[SP] = P;
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.
*+XAR5[0]
OPCODE
; Initialize XAR5 pointer with the
; 22-bit address of VarA
; Load the 32-bit contents of VarA
; into P
; Push the 32-bit P into the
; location pointed to by SP.
; Post-increment SP by 2
Push P Onto Stack
OBJMODE
RPT
CYC
X
1

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