RiwEZ / 261304-AssemblySim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Assignment Information: http://myweb.cmu.ac.th/sansanee.a/ComputerArchitecture/Y2022/Project1.htm

How to run: This will compile the assembly to machine code and save the compiled file then show the result from simulator. python .\main.py .\programs\example.s

If you want to run on a specific part:

  • Examples on how to use assembler: python .\assembler.py .\tests\files\t2.s

  • Examples on how to use simulator: python .\simulator.py .\tests\files\test_sim_example.bin

Unit Test: This will run all unit tests. python -m unittest discover

About


Languages

Language:Python 84.3%Language:Assembly 15.7%