To debug the assembly code starting from first address memory, We need to do these steps:
(1) pause the simulator with "s" or "p" key
(2) reset the cpu with "r" key
(3) enter in debug mode pressing the "d" key..
(4) activate the monitor pressing the "m" key..
(5) press <enter> key as first key
(6) press <enter> or <space> key, to execute an instruction at time.
To advance the debugging for a short time:
press "d" key to momentarily disable the debugger and subsequently press again the button "d".
To quit from debug mode press the "d" key to disable the debugger and the "m" key to disable the monitor.
Anonymous