
7778h
Address
Space
579Ch
52D2h
PC
21038h
21036h
21034h
Before:
Address
Space
After:
PC
0001h
2345h
7777Ah
77778h
0007h
7777h
7777Ah
77778h
65432h
+12345h
77777h
src
dst
Sum
0006h
5432h
3579Eh
3579Ch
0006h
5432h
3579Eh
3579Ch
1987h
21032h
xxxxh
2103Ah
7778h
579Ch
52D2h
21038h
21036h
21034h
1987h
21032h
xxxxh
2103Ah
Addressing Modes
4.4.5 Indirect Register Mode
The Indirect Register mode uses the contents of the CPU register Rsrc as the source operand. The
Indirect Register mode always uses a 20-bit address.
Length:
One, two, or three words
Operation:
The operand is the content the addressed memory location. The source register
Rsrc is not modified.
Comment:
Valid only for the source operand. The substitute for the destination operand is
0(Rdst).
ADDX.W @R5,2100h(R6)
Example:
This instruction adds the two 16-bit operands contained in the source and the
destination addresses and places the result into the destination.
Source:
Word pointed to by R5. R5 contains address 3579Ch for this example.
Destination:
Word pointed to by R6 + 2100h, which results in address 2100h = 7778h
110
CPUX
SLAU272C – May 2011 – Revised November 2013
Copyright © 2011–2013, Texas Instruments Incorporated