Computer organization and assembly course was one of the best courses I took. As a computer scientist it opens the world of imagination in my mind so I started to see bits dancing in front of my eyes :)

3 years passed since that day, I still can remember how our doctor was explaining the effect of each of assembly codes on the CPU registers.  Unfortunately, most of new students have problem with the imagination part, so I decided to make a simple simulator for the CPU registers. Maybe it is better to call it a debugger, but simulator sounds better for me :)

The following figure shows the main window of the simulator

cpu Registrt Simulator
It has 3 parts, the command screen, logs and the data registers.

The command screen is used to issue a simple assembly codes. For the time being there are 3 types of them, comments, mov and add.

The logs screen display any useful information needed such as syntax errors.

The data registers part is representing the Ax, Bx, Cx and Dx registers and there higher and lower bits.

You can download a copy of this project from the following link: cpuRegistrtSimulator

Related Posts

  1. Binary, Octal, Decimal and Hexadecimal converter(Java)
Print This Post