MSP430X Extended Instructions
4-47
16-Bit MSP430X CPU
Figure 4−27. Example for an Extended Register/Register Instruction
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
0
1
1
00
ZC
#
A/L
Rsvd
(n−1)/Rn
Op-code
Rsrc
Ad
B/W
As
Rdst
XORX.A
R9,R8
0
0
0
1
1
0
0
0
0
0
0
14(XOR)
9
0
1
0
8(R8)
XORX instruction
Source R9
0: Use Carry
1: Repetition count
in bits 3:0
01: Address word
Destination
register mode
Source
register mode
Destination R8
Figure 4−28. Example for an Extended Immediate/Indexed Instruction
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
0
1
1
Source 19:16
A/L
Rsvd
Destination 19:16
Op-code
Rsrc
Ad
B/W
As
Rdst
XORX.A #12345h, 45678h(R15)
0
0
0
1
1
1
0
0
4
14 (XOR)
0 (PC)
1
1
3
15 (R15)
18xx extension word
12345h
@PC+
X(Rn)
Source 15:0
Destination 15:0
Immediate operand LSBs: 2345h
Index destination LSBs: 5678h
01: Address
word
Summary of Contents for MSP430x4xx Family
Page 1: ...MSP430x4xx Family 2007 Mixed Signal Products User s Guide SLAU056G ...
Page 2: ......
Page 6: ...vi ...
Page 114: ...3 76 RISC 16 Bit CPU ...
Page 304: ...5 20 FLL Clock Module ...
Page 340: ...7 8 Supply Voltage Supervisor ...
Page 348: ...8 8 16 Bit Hardware Multiplier ...
Page 372: ...9 24 32 Bit Hardware Multiplier ...
Page 400: ...10 28 DMA Controller ...
Page 428: ...13 10 Basic Timer1 ...
Page 466: ...15 24 Timer_A ...
Page 522: ...17 30 USART Peripheral Interface UART Mode ...
Page 544: ...18 22 USART Peripheral Interface SPI Mode ...
Page 672: ...23 12 Comparator_A ...
Page 692: ...24 20 LCD Controller ...
Page 746: ...26 28 ADC12 ...