3 ms·
Seems like a better design choice would be to have instruction 0x0 throw some kind of page fault violation or other exception the OS can catch then.
by tachyonbeam 6y ago
Seems like a better design choice would be to have instruction 0x0 throw some kind of page fault violation or other exception the OS can catch then.
- kindall 6y agoShades of the 6502, where 0 was BRK
- FullyFunctional 6y agoIt is and on RISC-V 0 (16-bit bits and 32-bit) are an illegal instruction. Jumping to zeroed page is obviously a bug so this is the correct behavior.