![Texas Instruments MSP430G2744DA Manual Download Page 39](http://html1.mh-extra.com/html/texas-instruments/msp430g2744da/msp430g2744da_manual_1095559039.webp)
MSP430G2744, MSP430G2544, MSP430G2444
www.ti.com
SLAS892C – MARCH 2013 – REVISED SEPTEMBER 2014
6.2
Instruction Set
The instruction set consists of 51 instructions with three formats and seven address modes. Each
instruction can operate on word and byte data.
Table 6-1
shows examples of the three types of instruction
formats;
Table 6-2
shows the address modes.
Table 6-1. Instruction Word Formats
INSTRUCTION FORMAT
EXAMPLE
OPERATION
Dual operands, source-destination
ADD R4,R5
R4 + R5
→
R5
Single operands, destination only
CALL R8
PC
→
(TOS), R8
→
PC
Relative jump, unconditional/conditional
JNE
Jump-on-equal bit = 0
Table 6-2. Address Mode Descriptions
ADDRESS MODE
S
(1)
D
(2)
SYNTAX
EXAMPLE
OPERATION
Register
✓
✓
MOV Rs,Rd
MOV R10,R11
R10
→
R11
Indexed
✓
✓
MOV X(Rn),Y(Rm)
MOV 2(R5),6(R6)
M(2+R5)
→
M(6+R6)
Symbolic (PC relative)
✓
✓
MOV EDE,TONI
M(EDE)
→
M(TONI)
Absolute
✓
✓
MOV &MEM,&TCDAT
M(MEM)
→
M(TCDAT)
Indirect
✓
MOV @Rn,Y(Rm)
MOV @R10,Tab(R6)
M(R10)
→
M(Tab+R6)
M(R10)
→
R11
Indirect autoincrement
✓
MOV @Rn+,Rm
MOV @R10+,R11
R10 + 2
→
R10
Immediate
✓
MOV #X,TONI
MOV #45,TONI
#45
→
M(TONI)
(1)
S = source
(2)
D = destination
Copyright © 2013–2014, Texas Instruments Incorporated
Detailed Description
39
Submit Documentation Feedback
Product Folder Links:
MSP430G2744 MSP430G2544 MSP430G2444