MSP430X Extended Instructions
4-54
16-Bit MSP430X CPU
MSP430X Address Instructions
MSP430X address instructions are instructions that support 20-bit operands
but have restricted addressing modes. The addressing modes are restricted
to the register mode and the Immediate mode, except for the MOVA instruction
as listed in Table 4−16. Restricting the addressing modes removes the need
for the additional extension-word op-code improving code density and
execution time. Address instructions should be used any time an MSP430X
instruction is needed with the corresponding restricted addressing mode.
Table 4−16.Address Instructions, Operate on 20-bit Registers Data
Status Bits
Mnemonic
Operands
Operation
V
N
Z
C
ADDA
Rsrc,Rdst
#imm20,Rdst
Add source to destination
register
*
*
*
*
MOVA
Rsrc,Rdst
#imm20,Rdst
z16(Rsrc),Rdst
EDE,Rdst
&abs20,Rdst
@Rsrc,Rdst
@Rsrc+,Rdst
Rsrc,z16(Rdst)
Rsrc,&abs20
Move source to destination
-
-
-
-
CMPA
Rsrc,Rdst
#imm20,Rdst
Compare source to destina-
tion register
*
*
*
*
SUBA
Rsrc,Rdst
#imm20,Rdst
Subtract source from des-
tination register
*
*
*
*
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 ...