Next: LM32-Modifiers, Up: LM32 Syntax [Contents][Index]
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).
IEInterrupt enable.
IMInterrupt mask.
IPInterrupt pending.
ICCInstruction cache control.
DCCData cache control.
CCCycle counter.
CFGConfiguration.
EBAException base address.
DCDebug control.
DEBADebug exception base address.
JTXJTAG transmit.
JRXJTAG receive.
BP0Breakpoint 0.
BP1Breakpoint 1.
BP2Breakpoint 2.
BP3Breakpoint 3.
WP0Watchpoint 0.
WP1Watchpoint 1.
WP2Watchpoint 2.
WP3Watchpoint 3.