Next: , Previous: , Up: OpenRISC-Syntax   [Contents][Index]


9.33.1.2 Register Names

The OpenRISC register file contains 32 general pupose registers.

Floating point operations use the same general purpose registers. The instructions lf.itof.s (single precision) and lf.itof.d (double precision) can be used to convert integer values to floating point. Likewise, instructions lf.ftoi.s (single precision) and lf.ftoi.d (double precision) can be used to convert floating point to integer.

OpenRISC also contains privileged special purpose registers (SPRs). The SPRs are accessed using the l.mfspr and l.mtspr instructions.