branlwyd / bdcpu16

DCPU-16 simulator based on version 1.7 of the DCPU-16 specification. See http://dcpu.com/.
0 stars 0 forks source link

Codegen: stricter failures for HWI/HWQ #27

Closed branlwyd closed 11 years ago

branlwyd commented 11 years ago

Currently, if the hardware index read by HWI/HWQ is out of bounds, these instructions will act as no-ops. Preferably, these instructions should fault the CPU as illegal instructions to ease debugging. This is possible now that the CPU is notified of illegal instructions through illegalInstructionExecuted().

branlwyd commented 11 years ago

Done in a5fc4c955e698b8a0d49f8b60a9ef5dde6daf037. Closing.