Next: LM32-Modifiers, Up: LM32 Syntax
LM32 has 32 x 32-bit general purpose registers ‘r0’, ‘r1’, ... ‘r31’.
The following aliases are defined: ‘gp’ - ‘r26’, ‘fp’ - ‘r27’, ‘sp’ - ‘r28’, ‘ra’ - ‘r29’, ‘ea’ - ‘r30’, ‘ba’ - ‘r31’.
LM32 has the following Control and Status Registers (CSRs).
IE
IM
IP
ICC
DCC
CC
CFG
EBA
DC
DEBA
JTX
JRX
BP0
BP1
BP2
BP3
WP0
WP1
WP2
WP3