simh-testsetgenerator/SDS
Mark Emmer bf06cb4f87 SDS: Clean up CPU modes and record CPU mode in instruction history record
The three CPU modes -- normal, monitor and user were represented by two binary flags (nml_mode and usr_mode). The code is simpler and easier to read if the three modes are represented by one three-valued variable, cpu_mode. In addition, record the CPU mode in the instruction history record, and add the mode to the history display.

In addition, add an optional flag to the SET CPU HISTORY=n command to *not* record instructions executed in a particular CPU mode.  Flags are -n, -m and -u for normal, monitor and user mode respectively.  For example, SET -m CPU HISTORY=n will only record instructions executed in normal or user mode, and will not record instructions executed in monitor mode. This change aids user-mode program debugging by not filling the history with monitor-mode service functions and interrupt activity.
2014-04-09 22:11:55 -05:00
..
sds_cpu.c SDS: Clean up CPU modes and record CPU mode in instruction history record 2014-04-09 22:11:55 -05:00
sds_defs.h SDS: Clean up CPU modes and record CPU mode in instruction history record 2014-04-09 22:11:55 -05:00
sds_diag.txt Notes For V2.10-4 2011-04-15 08:34:03 -07:00
sds_drm.c Compiler nits for void * assignments from Bob Supnik 2013-09-04 19:50:47 -07:00
sds_dsk.c Cleanup for warning messages produced by the clang C compiler. Mostly adding parentheses in conditional assignments and clarification parentheses in complex boolean expressions. 2012-04-29 11:59:44 -07:00
sds_io.c SDS: Clean up CPU modes and record CPU mode in instruction history record 2014-04-09 22:11:55 -05:00
sds_lp.c Cleanup for warning messages produced by the clang C compiler. Mostly adding parentheses in conditional assignments and clarification parentheses in complex boolean expressions. 2012-04-29 11:59:44 -07:00
sds_mt.c Set device flags indicating DEV_DISK, DEV_TAPE, DEV_MUX and DEV_ETHER for all simulator devices which use the sim_disk, sim_tape, sim_tmxr, and sim_ether libraries 2013-01-07 12:47:24 -08:00
sds_mux.c SDS: Various fixes to asynchronous communication mux 2014-03-02 22:26:44 -06:00
sds_rad.c SDS: Further refinement to bootstrap from RAD, update SDS documentation 2014-03-17 17:48:59 -06:00
sds_stddev.c Compiler suggested cleanup 2013-05-23 11:27:53 -07:00
sds_sys.c SDS: Add assembly/disassembly support for common SYSPOPs. 2014-04-09 22:00:57 -05:00