MSP430xG461x
MIXED SIGNAL MICROCONTROLLER
SLAS508I − APRIL 2006 − REVISED MARCH 2011
11
POST OFFICE BOX 655303
•
DALLAS, TEXAS 75265
Table 1. Instruction Word Formats
Dual operands, source-destination
e.g., ADD R4,R5
R4 + R5 −−−> R5
Single operands, destination only
e.g., CALL R8
PC −−>(TOS), R8−−> PC
Relative jump, un/conditional
e.g., JNE
Jump-on-equal bit = 0
Table 2. Address Mode Descriptions
ADDRESS MODE
S
D
SYNTAX
EXAMPLE
OPERATION
Register
F F
MOV Rs,Rd
MOV R10,R11
R10 —> R11
Indexed
F F
MOV X(Rn),Y(Rm)
MOV 2(R5),6(R6)
M(2+R5)—> M(6+R6)
Symbolic (PC relative)
F F
MOV EDE,TONI
M(EDE) —> M(TONI)
Absolute
F F
MOV & MEM, & TCDAT
M(MEM) —> M(TCDAT)
Indirect
F
MOV @Rn,Y(Rm)
MOV @R10,Tab(R6)
M(R10) —> M(Tab+R6)
Indirect
autoincrement
F
MOV @Rn+,Rm
MOV @R10+,R11
M(R10) —> R11
R10 + 2—> R10
Immediate
F
MOV #X,TONI
MOV #45,TONI
#45 —> M(TONI)
NOTE: S = source D = destination
Summary of Contents for MSP430CG4616IPZ
Page 110: ......