SLAU131V October 2004 – February 2020
The names of MSP430 registers are predefined symbols, including R0-R15 and their aliases.
Register Name | Alias |
---|---|
R0 | PC |
R1 | SP |
R2 | SR |
Register symbols and aliases can be entered as all uppercase or all lowercase characters. For example, R1 could also be entered as r1, SP, or sp.
Control register symbols can be entered in all upper-case or all lower-case characters.
See the "Register Conventions" section of the MSP430 Optimizing C/C++ Compiler User's Guide for details about the registers and their uses.