From c077c22d24bc5feda3a106c53d604923af19e14d Mon Sep 17 00:00:00 2001 From: Paul Koning Date: Mon, 18 Dec 2023 14:33:06 -0500 Subject: [PATCH] PDP11: fix disassembly of reg,src instructions This corrects the disassembly of MUL, DIV, ASH, and ASHC so it works correctly when the register is not R0. --- PDP11/pdp11_sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PDP11/pdp11_sys.c b/PDP11/pdp11_sys.c index d5da6d9b..3adf48e9 100644 --- a/PDP11/pdp11_sys.c +++ b/PDP11/pdp11_sys.c @@ -376,7 +376,7 @@ static const int32 masks[] = { 0177700+I_D, 0177400+I_D, 0177700, 0177400, 0177400, 0177000, 0177000, 0177400, 0177400+I_D+I_L, 0170000, 0177777, 0177777, -0177700+I_D, 0177400+I_D, 0177700, 0177400, +0177000+I_D, 0177400+I_D, 0177700, 0177400, 0177000, 0177700+I_D, 0177400, 0177400+I_D+I_L };