diff --git a/VAX/vax_cpu.c b/VAX/vax_cpu.c index 82abeddb..c08ba64c 100644 --- a/VAX/vax_cpu.c +++ b/VAX/vax_cpu.c @@ -432,7 +432,7 @@ MTAB cpu_mod[] = { { MTAB_XTD|MTAB_VDV, 0, "IDLE", "IDLE={VMS|ULTRIX|ULTRIX-1.X|ULTRIXOLD|NETBSD|NETBSDOLD|OPENBSD|OPENBSDOLD|QUASIJARUS|32V|ELN}{:n}", &cpu_set_idle, &cpu_show_idle, NULL, "Display idle detection mode" }, { MTAB_XTD|MTAB_VDV, 0, NULL, "NOIDLE", &sim_clr_idle, NULL, NULL, "Disables idle detection" }, MEM_MODIFIERS, /* Model specific memory modifiers from vaxXXX_defs.h */ - { MTAB_XTD|MTAB_VDV|MTAB_NMO|MTAB_SHP, 0, "HISTORY", "HISTORY", + { MTAB_XTD|MTAB_VDV|MTAB_NMO|MTAB_SHP|MTAB_NC, 0, "HISTORY", "HISTORY", &cpu_set_hist, &cpu_show_hist, NULL, "Displays instruction history" }, { MTAB_XTD|MTAB_VDV|MTAB_NMO|MTAB_SHP, 0, "VIRTUAL", NULL, NULL, &cpu_show_virt, NULL, "show translation for address arg in KESU mode" }, @@ -1591,7 +1591,8 @@ for ( ;; ) { break; case CLRQ: - WRITE_Q (0, 0); /* store result */ + r = rh = 0; + WRITE_Q (r, rh); /* store result */ CC_ZZ1P; /* set cc's */ break;