This project aims to facilitate the assembly and simulation of programs written for a custom Instruction Set Architecture (ISA) with matplotlib
visualizations to analyze the processor's registers and memory states.
The assembler's role is to translate assembly language code, written for the custom ISA, into machine code that the simulator can execute. It ensures the assembly code adheres to the syntax and semantics of the custom ISA.
The simulator executes the machine code generated by the assembler, mimicking the behavior of a processor designed for the custom ISA. It offers a virtual environment to test and debug programs before deployment on actual hardware.
-
Install Matplotlib by running the following:
pip install matplotlib
-
Write your program in the assembly language defined by the custom ISA.
-
Use
Project_Assembler.py
to assemble your program, converting it into machine code. -
Run
SimpleSimulator.py
with the generated machine code to simulate the execution of your program. -
Analyze the output, including the final state of the processor's registers and memory with visualizations provided from
matplotlib
.