1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 04:01:38 +00:00

SCP, PDP11: Added HELP CPU BREAK to display info about breakpoint types

This commit is contained in:
Mark Pizzolato
2016-10-06 13:25:54 -07:00
parent d4f38d5358
commit cf1e7b9cca
3 changed files with 52 additions and 10 deletions

View File

@@ -657,15 +657,6 @@ MTAB cpu_mod[] = {
{ 0 }
};
DEVICE cpu_dev = {
"CPU", &cpu_unit, cpu_reg, cpu_mod,
1, 8, 22, 2, 8, 16,
&cpu_ex, &cpu_dep, &cpu_reset,
NULL, NULL, NULL,
NULL, DEV_DYNM, 0,
NULL, &cpu_set_size, NULL
};
BRKTYPTAB cpu_breakpoints [] = {
BRKTYPE('E',"Execute Instruction at Virtual Address"),
BRKTYPE('P',"Execute Instruction at Physical Address"),
@@ -676,6 +667,17 @@ BRKTYPTAB cpu_breakpoints [] = {
{ 0 }
};
DEVICE cpu_dev = {
"CPU", &cpu_unit, cpu_reg, cpu_mod,
1, 8, 22, 2, 8, 16,
&cpu_ex, &cpu_dep, &cpu_reset,
NULL, NULL, NULL,
NULL, DEV_DYNM, 0,
NULL, &cpu_set_size, NULL,
NULL, NULL, NULL, NULL,
cpu_breakpoints
};
t_value pdp11_pc_value (void)
{
return (t_value)PC;