I ran my vm-to-asm translator python script on a folder containing the OS .vm files and the .vm files of the Square sample program from project09. The resulting .asm file was ~52000 lines; the ROM of the nand2tetris computer only has room for 32768 lines.
Optimizing the vm-to-asm translator is a design improvement I'll gradually work on as I move through the remaining projects. While I'm working on projects 9 through 12 I can use the supplied vm translator.
I ran my vm-to-asm translator python script on a folder containing the OS .vm files and the .vm files of the Square sample program from project09. The resulting .asm file was ~52000 lines; the ROM of the nand2tetris computer only has room for 32768 lines.
Optimizing the vm-to-asm translator is a design improvement I'll gradually work on as I move through the remaining projects. While I'm working on projects 9 through 12 I can use the supplied vm translator.