CPU Simulator

Hi, I finished the CPU simulator final project in computer architecture. I made an assembler class to parse instruction and data input and a CPU class to process the instructions. The CPU class is connected to its components and memory through a control unit class.

The project idea suggestions said to make a memory bus for the data values and I decided to send data values to the memory bus and instructions to the CPU to load the data values from memory to CPU registers. I implemented the suggested instructions and added a multiply operation and bitwise logic and shift operations.

To run the simulator, run ‘cpu_simulator.py’. I appreciate any feedback!