Home /Modules/cpu/REGISTERS.md

REGISTERS.md

lib/cpu/riscv/REGISTERS.md · 25 line(s) · markdown

RISC-V Registers

Integer register file

RV32I specifies 32 XLEN-wide integer registers and a program counter. citeturn0search0

Conventional ABI roles

CSRs

Control and Status Registers are a separate privileged/system register file. It includes architectural state such as exception control, counters, interrupt state, address translation, and extension-specific state.

FP/vector

F/D extensions add floating-point state; V adds vector state. These files exist only when their extensions are selected.