1
0
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:
Lars Brinkhoff
2020-06-14 19:55:12 +02:00
parent 50266704ca
commit 1d3d20e999

View File

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