EasyManua.ls Logo

Texas Instruments MSP430x1xx - Single-Operand (Format II) Instructions

Texas Instruments MSP430x1xx
432 pages
Print Icon
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...
Instruction Set
3-19
RISC 16-Bit CPU
3.4.2 Single-Operand (Format II) Instructions
Figure 3−10 illustrates the single-operand instruction format.
Figure 3−10. Single Operand Instruction Format
B/W D/S-Reg
15 0
Op-code
8714 13 12 11 10 9 6 5 4 3 2 1
Ad
Table 3−12 lists and describes the single operand instructions.
Table 3−12.Single Operand Instructions
Mnemonic
S-Reg,
D-Reg
Operation Status Bits
D-Reg
VNZC
RRC(.B)
dst C MSB .......LSB C * * * *
RRA(.B) dst MSB MSB ....LSB C 0***
PUSH(.B) src SP − 2
SP, src @SP −−−−
SWPB dst Swap bytes −−−−
CALL dst SP − 2
SP, PC+2 @SP −−−−
dst
PC
RETI TOS
SR, SP + 2 SP ****
TOS
PC,SP + 2 SP
SXT
dst Bit 7 Bit 8........Bit 15 0 * * *
* The status bit is affected
The status bit is not affected
0 The status bit is cleared
1 The status bit is set
All addressing modes are possible for the CALL instruction. If the symbolic
mode (ADDRESS), the immediate mode (#N), the absolute mode (&EDE) or
the indexed mode x(RN) is used, the word that follows contains the address
information.

Table of Contents

Related product manuals