Datasheet
Addressing Modes
www.ti.com
Table 3-3. Source/Destination Operand Addressing Modes
As/Ad Addressing Mode Syntax Description
00/0 Register mode Rn Register contents are operand
01/1 Indexed mode X(Rn) (Rn + X) points to the operand. X is stored in the next word.
01/1 Symbolic mode ADDR (PC + X) points to the operand. X is stored in the next word.
Indexed mode X(PC) is used.
01/1 Absolute mode &ADDR The word following the instruction contains the absolute
address. X is stored in the next word. Indexed mode X(SR) is
used.
10/- Indirect register mode @Rn Rn is used as a pointer to the operand.
11/- Indirect autoincrement @Rn+ Rn is used as a pointer to the operand. Rn is incremented
afterwards by 1 for .B instructions and by 2 for .W instructions.
11/- Immediate mode #N The word following the instruction contains the immediate
constant N. Indirect autoincrement mode @PC+ is used.
The seven addressing modes are explained in detail in the following sections. Most of the examples show
the same addressing mode for the source and destination, but any valid combination of source and
destination addressing modes is possible in an instruction.
NOTE: Use of Labels EDE, TONI, TOM, and LEO
Throughout MSP430 documentation EDE, TONI, TOM, and LEO are used as generic labels.
They are only labels. They have no special meaning.
48
CPU SLAU144J–December 2004–Revised July 2013
Submit Documentation Feedback
Copyright © 2004–2013, Texas Instruments Incorporated