diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2002-03-07 19:17:04 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2002-03-07 19:17:04 +0000 |
commit | 86596dc8e0f8e5832ea8abff4ee6ae0c0d734238 (patch) | |
tree | da4535d137b0a5949a359b3ae89baeb3d7068fa5 /sim/m68hc11/dv-m68hc11.c | |
parent | 827ec39a5a8af8821006d93978623dc1ababdac1 (diff) | |
download | ppe42-binutils-86596dc8e0f8e5832ea8abff4ee6ae0c0d734238.tar.gz ppe42-binutils-86596dc8e0f8e5832ea8abff4ee6ae0c0d734238.zip |
* m68hc11_sim.c (cpu_move8): Call sim_engine_abort in default case.
(cpu_move16): Likewise.
(sim_memory_error): Use sim_io_printf.
(cpu_option_handler): Fix compilation warning.
* interp.c (sim_hw_configure): Fix compilation warning;
remove m68hc12sio@2 device.
(sim_open): Likewise.
* dv-m68hc11tim.c (m68hc11tim_port_event): Fix clear of TFLG2
flags when reset.
(cycle_to_string): Improve convertion of cpu cycle number.
(m68hc11tim_info): Print info about PACNT.
(m68hc11tim_io_write_buffer): Fix clearing of TFLG2; handle
TCTL1 and TCTL2 registers.
* dv-m68hc11.c (m68hc11_info): Print 6811 current running mode.
Diffstat (limited to 'sim/m68hc11/dv-m68hc11.c')
-rw-r--r-- | sim/m68hc11/dv-m68hc11.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sim/m68hc11/dv-m68hc11.c b/sim/m68hc11/dv-m68hc11.c index 5fc25a90aa..25449cdb57 100644 --- a/sim/m68hc11/dv-m68hc11.c +++ b/sim/m68hc11/dv-m68hc11.c @@ -591,7 +591,21 @@ m68hc11_info (struct hw *me) val = cpu->ios[M6811_HPRIO]; print_io_byte (sd, "HPRIO ", hprio_desc, val, base + M6811_HPRIO); - sim_io_printf (sd, "\n"); + switch (cpu->cpu_mode) + { + case M6811_MDA | M6811_SMOD: + sim_io_printf (sd, "[test]\n"); + break; + case M6811_SMOD: + sim_io_printf (sd, "[bootstrap]\n"); + break; + case M6811_MDA: + sim_io_printf (sd, "[extended]\n"); + break; + default: + sim_io_printf (sd, "[single]\n"); + break; + } val = cpu->ios[M6811_CONFIG]; print_io_byte (sd, "CONFIG", config_desc, val, base + M6811_CONFIG); |