English
Language : 

MSP430FG439 Datasheet, PDF (41/88 Pages) Texas Instruments – Mixed-Signal Microcontrollers
www.ti.com
MSP430FG439, MSP430FG438, MSP430FG437
SLAS380D – APRIL 2004 – REVISED NOVEMBER 2014
6.2 Instruction Set
The instruction set consists of the original 51 instructions with three formats and seven address modes
and additional instructions for the expanded address range. Each instruction can operate on word and
byte data. Table 6-1 shows examples of the three types of instruction formats; Table 6-2 lists the address
modes.
INSTRUCTION FORMAT
Dual operands, source-destination
Single operands, destination only
Relative jump, un/conditional
Table 6-1. Instruction Word Formats
EXAMPLE
ADD R4,R5
CALL R8
JNE
OPERATION
R4 + R5 → R5
PC→(TOS), R8 →PC
Jump-on-equal bit = 0
ADDRESS MODE
S (1)
Register
✓
Indexed
✓
Symbolic (PC relative)
✓
Absolute
✓
Indirect
✓
Indirect autoincrement
✓
Immediate
✓
(1) S = source D = destination
Table 6-2. Address Mode Descriptions
D (1)
SYNTAX
✓
MOV Rs,Rd
✓
MOV X(Rn),Y(Rm)
✓
MOV EDE,TONI
✓
MOV & MEM, & TCDAT
MOV @Rn,Y(Rm)
EXAMPLE
MOV R10,R11
MOV 2(R5),6(R6)
MOV @R10,Tab(R6)
MOV @Rn+,Rm
MOV @R10+,R11
MOV #X,TONI
MOV #45,TONI
OPERATION
R10 → R11
M(2+R5)→ M(6+R6)
M(EDE) → M(TONI)
M(MEM) → M(TCDAT)
M(R10) → M(Tab+R6)
M(R10) → R11
R10 + 2→ R10
#45 → M(TONI)
Copyright © 2004–2014, Texas Instruments Incorporated
Submit Documentation Feedback
Product Folder Links: MSP430FG439 MSP430FG438 MSP430FG437
Detailed Description
41