Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 549 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 549 Bytes

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