Texas Instruments MSP430x4xx Family User Manual page 248

Hide thumbs Also See for MSP430x4xx Family:
Table of Contents

Advertisement

Extended Instructions
* POPX.A
* POPX[.W]
* POPX.B
Syntax
Operation
Emulation
Description
Status Bits
Mode Bits
Example
Example
4-134
16-Bit MSP430X CPU
Restore single address-word from the stack
Restore single word from the stack
Restore single byte from the stack
POPX.A
dst
POPX
dst or POPX.W
POPX.B
dst
Restore the 8/16/20-bit value from the stack to the destination. 20-bit
addresses are possible. The stack pointer SP is incremented by two (byte and
word operands) and by four (address-word operand).
MOVX(.B,.A)
@SP+,dst
The item on TOS is written to the destination operand. Register Mode, Indexed
Mode, Symbolic Mode, and Absolute Mode are possible. The stack pointer is
incremented by two or four.
Note: the stack pointer is incremented by two also for byte operations.
Not affected.
OSCOFF, CPUOFF, and GIE are not affected.
Write the 16-bit value on TOS to the 20-bit address &EDE.
POPX.W
&EDE
Write the 20-bit value on TOS to R9.
POPX.A
R9
dst
; Write word to address EDE
; Write address-word to R9

Advertisement

Table of Contents
loading

Table of Contents