lc-3-2 / lc32sim

LC-3.2 simulator
0 stars 0 forks source link

Add State Printouts #10

Closed ammrat13 closed 1 year ago

ammrat13 commented 1 year ago

This PR adds printouts of the machine state after each instruction is executed. These are printed to logger.debug. It also changes the format of the condition codes when printing out the state.

sameer-s commented 1 year ago

Made a slight change to pass the log into dump_state by reference instead of by value; otherwise LGTM