Addressing Modes
3-15
RISC 16-Bit CPU
3.3.6
Indirect Autoincrement Mode
The indirect autoincrement mode is described in Table 3−9.
Table 3−9. Indirect Autoincrement Mode Description
Assembler Code
Content of ROM
MOV @R10+,0(R11)
MOV @R10+,0(R11)
Length:
One or two words
Operation:
Move the contents of the source address (contents of R10) to
the destination address (contents of R11). Register R10 is
incremented by 1 for a byte operation, or 2 for a word
operation after the fetch; it points to the next address without
any overhead. This is useful for table processing.
Comment:
Valid only for source operand. The substitute for destination
operand is 0(Rd) plus second instruction INCD Rd.
Example:
MOV @R10+,0(R11)
00000h
Address
Space
04ABBh
PC
0FF16h
0FF14h
0FF12h
0xxxxh
05BC1h
0FA34h
0FA32h
0FA30h
0xxxxh
0xxxxh
01234h
010AAh
010A8h
010A6h
0xxxxh
0FA32h
010A8h
R10
R11
Register
Before:
Address
Space
0xxxxh
05BC1h
0FA34h
0FA32h
0FA30h
0xxxxh
0xxxxh
05BC1h
010AAh
010A8h
010A6h
0xxxxh
0FA34h
R10
R11
Register
After:
0xxxxh
0xxxxh
0FF18h
00000h
04ABBh
PC
0FF16h
0FF14h
0FF12h
0xxxxh
0xxxxh
0FF18h
010A8h
The autoincrementing of the register contents occurs after the operand is
fetched. This is shown in Figure 3−8.
Figure 3−8. Operand Fetch Operation
Instruction
Address
Operand
+1/ +2
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 ...