# RISCV architecture

## Register usage

x2  RSP
x3  PSP
x4  W
x5  A
x6  S
x7  SYSVARS

x10-x12 Tmp registers within HAL ops
x24-x27 hal/vreg

x1      Link register
x28     Acmp, used for conditional branching
x29     Bcmp, used for conditional branching
x30-x31 Can't use (TODO: why?)
