mirror of
https://github.com/simh/simh.git
synced 2026-01-14 07:39:29 +00:00
PDP10: Added display support of PC value in debug messages.
This commit is contained in:
parent
8d09ebec8b
commit
ccabc026d5
@ -625,12 +625,19 @@ static t_stat jrst_tab[16] = {
|
||||
#define POPF if (LRZ (AC(ac)) == RMASK) SETF (F_T2)
|
||||
#define DMOVNF if (rs[1] == 0) { MOVNF (rs[0]); }
|
||||
|
||||
t_value pdp10_pc_value (void)
|
||||
{
|
||||
return (t_value)pager_PC;
|
||||
}
|
||||
|
||||
t_stat sim_instr (void)
|
||||
{
|
||||
a10 PC; /* set by setjmp */
|
||||
int abortval = 0; /* abort value */
|
||||
t_stat r;
|
||||
|
||||
sim_vm_pc_value = &pdp10_pc_value;
|
||||
|
||||
/* Restore register state */
|
||||
|
||||
if ((r = build_dib_tab ()) != SCPE_OK) /* build, chk dib_tab */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user