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.
This commit is contained in:
Paul Koning 2023-12-18 14:33:06 -05:00
parent 625b9e8d45
commit c077c22d24

View file

@ -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
};