kjmitchelljr/VirtualMachine
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Brief description: reads in pm0 code, prints the assembler version of the pm0 code, and executes the pm0 code displaying the machine state after each instruction. The file mcode.pm0 contains an example program. The file trace.txt is what your program should output when you run it on mcode.pm0. Note that stack[0] is not shown. It is important that you print out | to separate the activation records. Both are located in the code repo under Sources (on left hand side) in the folder 0_virtual_machine