Python script written to interpret and simulate asm code written using the OP Codes and Registers given in the Problem Statement
Converts the given ASM script to binary
Uses the converted ASM script to Binary to simulate what it was originally intented to by dumping the values of all registers after processing every command, futher it also provides a graph plotting memory accessed vs cycle count
- Go to the
automatedTesting
directory and execute therun
file with appropiate options passed as arguments. - Options available for automated testing:
--verbose
: Prints verbose output--no-asm
: Does not evaluate the assembler--no-sim
: Does not evaluate the simulator