mirror of
https://github.com/simh/simh.git
synced 2026-02-27 01:00:07 +00:00
IMLAC: Fix bug in long vector instruction.
X and Y were swapped.
This commit is contained in:
@@ -383,11 +383,11 @@ dp_dlvh (uint16 insn1, uint16 insn2, uint16 insn3)
|
||||
m = insn2 & 07777;
|
||||
n = insn3 & 07777;
|
||||
if (insn3 & 010000) {
|
||||
dx = m;
|
||||
dy = n;
|
||||
} else {
|
||||
dx = n;
|
||||
dy = m;
|
||||
} else {
|
||||
dx = m;
|
||||
dy = n;
|
||||
}
|
||||
if (insn3 & 040000)
|
||||
XA -= SCALE * dx;
|
||||
|
||||
Reference in New Issue
Block a user