From 9428e4744a0d2f903ba7542c7b7d5641a76a2949 Mon Sep 17 00:00:00 2001 From: Neil Webber Date: Wed, 8 May 2024 17:59:35 -0500 Subject: [PATCH] Verifying with some test code, SIMH generates ReservedInstruction for things like JMP R0 ... and now this code does the same (was AddressError) --- machine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machine.py b/machine.py index 4adb9f9..5d627a7 100644 --- a/machine.py +++ b/machine.py @@ -423,7 +423,7 @@ class PDP11: # Note that in all READ cases b6 will be the newb6 (reusable) if (b6 & 0o70) == 0: if justEA: - raise PDPTraps.AddressError + raise PDPTraps.ReservedInstruction # validated via SIMH match b6 & 0o07, value, opsize: case Rn, None, 2: