IMLAC: Also load block register when loading DPC.

Not doing this will make jumps fail when the display processor is
started from an adress larger than 7777.
This commit is contained in:
Lars Brinkhoff 2020-06-26 16:57:32 +02:00
parent ab1a922af0
commit da76d6eca1

View file

@ -149,7 +149,8 @@ dp_iot (uint16 insn, uint16 AC)
} }
if ((insn & 0772) == 0002) { /* DLA */ if ((insn & 0772) == 0002) { /* DLA */
sim_debug (DBG, &dp_dev, "DPC set to %06o\n", AC & memmask); sim_debug (DBG, &dp_dev, "DPC set to %06o\n", AC & memmask);
DPC |= AC & memmask; DPC = AC & memmask;
BLOCK = (AC >> 12) & 3;
} }
if ((insn & 0771) == 0011) { /* CTB */ if ((insn & 0771) == 0011) { /* CTB */
; ;