JAJSG93E September 2012 – September 2018 MSP430F6745 , MSP430F6746 , MSP430F6747 , MSP430F6748 , MSP430F6749 , MSP430F6765 , MSP430F6766 , MSP430F6767 , MSP430F6768 , MSP430F6769 , MSP430F6775 , MSP430F6776 , MSP430F6777 , MSP430F6778 , MSP430F6779
PRODUCTION DATA.
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 lists examples of the three types of instruction formats. Table 6-2 lists the address modes.
INSTRUCTION WORD FORMAT | EXAMPLE | OPERATION |
---|---|---|
Dual operands, source and destination | ADD R4,R5 | R4 + R5 → R5 |
Single operands, destination only | CALL R8 | PC → (TOS), R8 → PC |
Relative jump, unconditional or conditional | JNE | Jump-on-equal bit = 0 |
ADDRESS MODE | S(1) | D(1) | 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) | |
Indirect autoincrement | + | MOV @Rn+,Rm | MOV @R10+,R11 | M(R10) → R11
R10 + 2 → R10 |
|
Immediate | + | MOV #X,TONI | MOV #45,TONI | #45 → M(TONI) |