Operands

  • Fast location for data. All data must be in registers to perform arithmetic. Register x0 always equals to 0.. Register x0 always equals to 0.

    • 32bit registers

      • x0-x31

  • RISC-V uses bytes addresses; sequencial doubleword accesses differ by 8. Memory may hold data structures, arrays and spilled registers; Accessed only by data transfer-instructions.

    • 2^61 memory words

Principles of hardware design

  1. Simplicity favors regularity