Skip to content

Commit

Permalink
PDP11: fix disassembly of reg,src instructions
Browse files Browse the repository at this point in the history
This corrects the disassembly of MUL, DIV, ASH, and ASHC so it works
correctly when the register is not R0.
  • Loading branch information
pkoning2 committed Dec 18, 2023
1 parent 625b9e8 commit c077c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PDP11/pdp11_sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

Expand Down

0 comments on commit c077c22

Please sign in to comment.