Verifying with some test code, SIMH generates ReservedInstruction for things like JMP R0 ... and now this code does the same (was AddressError)
This commit is contained in:
parent
625c5ce1cc
commit
9428e4744a
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ class PDP11:
|
||||||
# Note that in all READ cases b6 will be the newb6 (reusable)
|
# Note that in all READ cases b6 will be the newb6 (reusable)
|
||||||
if (b6 & 0o70) == 0:
|
if (b6 & 0o70) == 0:
|
||||||
if justEA:
|
if justEA:
|
||||||
raise PDPTraps.AddressError
|
raise PDPTraps.ReservedInstruction # validated via SIMH
|
||||||
|
|
||||||
match b6 & 0o07, value, opsize:
|
match b6 & 0o07, value, opsize:
|
||||||
case Rn, None, 2:
|
case Rn, None, 2:
|
||||||
|
|
Loading…
Add table
Reference in a new issue