Texas Instruments TMS320C3x User Manual
Page 652

POP
Pop Integer
13-194
Syntax
POP
dst
Operation
*SP– –
→
dst
Operands
dst register (Rn, 0
≤
n
≤
27)
Opcode
31
24 23
16
8 7
0
15
0 0 0
0 1
0
1
0
1
dst
1
0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Description
The top of the current system stack is popped and loaded into the
dst register
(32 LSBs). The top of the stack is assumed to be a signed integer. The POP
is performed with a postdecrement of the stack pointer. The exponent bits of
an extended-precision register (R7–R0) are left unmodified.
Cycles
1
Status Bits
These condition flags are modified only if the destination register is R7 – R0.
LUF
Unaffected
LV
Unaffected
UF
0
N
1 if a negative result is generated; 0 otherwise
Z
1 if a 0 result is generated; 0 otherwise
V
0
C
Unaffected
OVM
Operation is not affected by OVM bit value.
Example
POP R3
Before Instruction
After Instruction
R3
00 0000 12DA
R3
00 FFFF 0DA4
SP
809856
SP
809855
LUF
0
LUF
0
LV
0
LV
0
UF
0
UF
0
N
0
N
1
Z
0
Z
0
V
0
V
0
C
0
C
0
Data memory
809856h
FFFF0DA4
809856h
FFFF0DA4
4,826
–62,044
–62,044
–62,044
Mode Bit
- Digital Signal Processor SM320F2812-HT (153 pages)
- MSP430x1xx (440 pages)
- Laser And Motor Drives DRV8811EVM (13 pages)
- TMS320 DSP (88 pages)
- MSP430x11x1 (45 pages)
- TVP5154EVM (55 pages)
- TMS320DM646X DMSOC (64 pages)
- CC2511 (24 pages)
- SN65HVS880 (4 pages)
- TPS650231EVM (14 pages)
- TMS320TCI648x (256 pages)
- TSC2007EVM-PDK (16 pages)
- UCC38500EVM (16 pages)
- TMS320C6000 (62 pages)
- SCAU020 (21 pages)
- TPS40051 (17 pages)
- TNETE2201 (14 pages)
- TMS320C64x DSP (306 pages)
- UCC2891 (21 pages)
- MSP430 (138 pages)
- TMS320C6712D (102 pages)
- MSP430x4xx (512 pages)
- TMS320C6454 (225 pages)
- SPRU938B (48 pages)
- TUSB3210 (22 pages)
- TMS320C6457 (43 pages)
- CC2530ZNP (3 pages)
- TMS320C6455 (50 pages)
- TSB12LV26 (91 pages)
- TMS320C6472 (2 pages)
- VLYNQ Port (49 pages)
- TMS380C26 (92 pages)
- MSP-FET430 (95 pages)
- TMS320TCI6486 (160 pages)
- TPS2330 (22 pages)
- DM648 DSP (47 pages)
- TMS320DM36X (134 pages)
- MSC1211 (35 pages)
- SPRAA56 (29 pages)
- DAC7741EVM (28 pages)
- CDCM7005 (34 pages)
- TMS370 (99 pages)
- Adpater (37 pages)
- TMS320C6452 DSP (46 pages)