4 ms·
It also only implements 3 registers, not 16 (RV32E) or 32 (RV32I), though it might count as 4 since register 0 is hardwired to a 0 value. But using the RISC-V
by jecel 4y ago
It also only implements 3 registers, not 16 (RV32E) or 32 (RV32I), though it might count as 4 since register 0 is hardwired to a 0 value.
But using the RISC-V instructions means that all kinds of existing tools will work just fine for them as long as their programs keep within the limitations. No need to write their own assemblers and such.
- messe 4y agoInteresting. I didn't know about the 3 registers aspect, although I haven't read the paper since it came out a few years back. 32-bit instructions, 3 registers, 16-bit addresses/data, and no fancy addressing modes (only lh reg, a(reg) and sh reg, a(reg)), sounds absolutely painful to program for. Like a 6502 without the zero page, and half the instruction density.