Andrew wrote
Should a single, consolidated, master .asm file as described be able to run any of the test scripts at the chapter seven stage? I was able to run it on test scripts by renaming it to the script being run, but the outputs do not compare. Individually, the mini .asm files put together by my Virtual Machine have been passing the tests, but when I String them together it does not achieve the same result.
I don't understand what you mean by stringing your .asm files together. Each of the 5 tests in project 7 are single .vm files that are to be translated to single .asm files of the same name. Each resulting .asm file is an independent program.
When you get to chapter 8 you will encounter tests that have multiple .vm files. Then your VM translator will process all the .vm files in the directory generating a single .asm file with the same name as the directory.
Note that the chapter 7 tests are in directories that have the same name as the single .vm file so that you can process either the single file or the entire directory, with the same results.
--Mark