legv8asm is an LEGv8
instruction set emulator that is used to produce a binary output of an assembled program. Created by the instructor, Jeremy Sheaffer.
test.legv8asm is a LEGv8 assembly program as a plain text file.
test.legv8asm.machine is the binary version of test.legv8asm after being assembled
using ./legv8asm test.legv8asm -a.
How to run...
Create/modify test.legv8asm to include your own assembly code.
Run ./legv8asm test.legv8asm -a in your terminal to assemble that program into binary.
You will find test.legv8asm.machine has been generated as a binary file.
Run make in your terminal to compile assignment2.c.
Run ./assignment2 test.legv8asm.machine to run test.legv8asm.machine
as binary assembly code and analyze the output.
Optional Steps Post Testing:
Run make clean to clean up the generated files from the making of assignment2.c.
Delete the generated .machine file to keep things clean.