Register Mode; Addressing Modes - Texas Instruments MSP430x1xx User Manual

Texas instruments modules and peripherals user's guide
Table of Contents

Advertisement

Addressing Modes

3.3.1

Register Mode

The register mode is described in Table 3−4.
Table 3−4. Register Mode Description
Length:
Operation:
Comment:
Example:
R10
R11
PC
Note: Data in Registers
The data in the register can be accessed using word or byte instructions. If
byte instructions are used, the high byte is always 0 in the result. The status
bits are handled according to the result of the byte instruction.
3-10
RISC 16-Bit CPU
Assembler Code
MOV
R10,R11
One or two words
Move the content of R10 to R11. R10 is not affected.
Valid for source and destination
MOV
R10,R11
Before:
0A023h
R10
0FA15h
R11
PC
PC
old
Content of ROM
MOV
R10,R11
After:
0A023h
0A023h
PC
+ 2
old

Advertisement

Table of Contents
loading

Table of Contents