Chip Based VAXes: Fix CIS and EMULATED instruction implemented test

This commit is contained in:
Mark Pizzolato 2019-05-01 04:55:36 -07:00
parent 6ae9b8025a
commit 6c7da6c68b

View file

@ -107,10 +107,10 @@ t_stat r;
DSTR accum, src1, src2, dst; DSTR accum, src1, src2, dst;
DSTR mptable[10]; DSTR mptable[10];
if (((IG_PACKD == DR_GETIGRP(drom[opc][0])) && if (((DR_GETIGRP(IG_PACKD) == DR_GETIGRP(drom[opc][0])) &&
(cpu_instruction_set & VAX_PACKED)) || (!(cpu_instruction_set & VAX_PACKED))) ||
((IG_EMONL == DR_GETIGRP(drom[opc][0])) && ((DR_GETIGRP(IG_EMONL) == DR_GETIGRP(drom[opc][0])) &&
(cpu_instruction_set & VAX_EMONL))) { /* Emulated? */ (!(cpu_instruction_set & VAX_EMONL)))) { /* Emulated? */
/* CIS and emulate only instructions - invoke emulator interface /* CIS and emulate only instructions - invoke emulator interface
opnd[0:5] = six operands to be pushed (if PSL<fpd> = 0) opnd[0:5] = six operands to be pushed (if PSL<fpd> = 0)
cc = condition codes cc = condition codes