
xxxxh
Address Space
7778h
579Ch
PC
2103Ah
21038h
21036h
Before:
Address Space
After:
5292h
21034h
xxxxh
7778h
579Ch
PC
2103Ah
21038h
21036h
5292h
21034h
xxxxh
2345h
0777Ah
07778h
xxxxh
7777h
0777Ah
07778h
5432h
+2345h
7777h
src
dst
Sum
xxxxh
5432h
0579Eh
0579Ch
xxxxh
5432h
0579Eh
0579Ch
Addressing Modes
4.4.4.2
MSP430X Instruction With Absolute Mode
If an MSP430X instruction is used with Absolute addressing mode, the absolute address is a 20-bit value
and, therefore, points to any address in the memory range. The address value is calculated as an index
from 0. The 4 MSBs of the index are contained in the extension word, and the 16 LSBs are contained in
the word following the instruction.
Length:
Three or four words
Operation:
The operand is the content of the addressed memory location.
Comment:
Valid for source and destination. The assembler calculates the index from 0 and
inserts it.
ADDX.A &EDE,&TONI ;
Example:
This instruction adds the 20-bit data contained in the absolute source and
destination addresses and places the result into the destination.
Source:
Two words beginning with address EDE
Destination:
Two words beginning with address TONI
109
SLAU272C – May 2011 – Revised November 2013
CPUX
Copyright © 2011–2013, Texas Instruments Incorporated