Texas Instruments MSP430x4xx Computer Hardware User Manual


 
Instruction Set
3-19RISC 16-Bit CPU
3.4.2 Single-Operand (Format II) Instructions
Figure 310 illustrates the single-operand instruction format.
Figure 310. 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 312 lists and describes the single operand instructions.
Table 312.Single Operand Instructions
Mnemonic
S-Reg,
Operation Status Bits
D-Reg
VNZC
RRC(.B)
dst C MSB .......LSB C * * * *
RRA(.B) dst MSB MSB ....LSB C0***
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.