mirror of
https://github.com/prirun/p50em.git
synced 2026-01-13 15:17:32 +00:00
Fix crash executing from registers during boot
In slow mode (compiled without -DFAST), Rev. 19 would crash during boot. On investigation, the code was branching to '4 after setting up an instruction there. However, instruction fetch found a '0 instead of the expected instruction. Instructions might be fetched from registers via trap. Fast iget16() checks for fault. Slow iget16() does not, and just calls get16() which does not check.
This commit is contained in:
parent
4a1bfefa4a
commit
1d8476a807