3 ms·
RISC-V deliberately made sure both all 0s and all 1s are forever illegal instructions, in all instruction lengths.
by brucehoult 6y ago
RISC-V deliberately made sure both all 0s and all 1s are forever illegal instructions, in all instruction lengths.
- titzer 6y agoWasm too. Bytecode 0 is "unreachable" and executing it produces a trap.
- mycall 6y agoSpecifically to avoid infinite loops?
- brucehoult 6y agoTo make hitting uninitialised RAM or Flash or OTP (or others) stop the program immediately.