Home

Project 11

Task 1

Update your VM-assembly translator to support the following additional VM commands:

function [function name] [num locals]
call [function name] [num args]
return

Download the test scripts: project-11.zip. Note, in each case there is a “VME.tst” file. That tests the VM code, which is given to you. Use the VME.tst file to see how the VM code behaves. But ultimately, you want to pass the tests with the regular .tst script.

CSCI 201 material by Joshua Eckroth is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Source code for this website available at GitHub.