|
This assignment is based on material from Nand2Tetris Chapter 4. |
Collaborative AssignmentThe first part of HW04 is a collaborative assignment. Write a HACK assembly language program using the tools from Nand2Tetris Assignment 4 according to the following specification. String Length This assignment will calculate the length of a string and store the result in a memory location. A string is specified by a starting memory location, and each increasing consecutive memory address until a "0" value is reached. Individual AssignmentComplete the two programs for Nand2Tetris Assignment #4. This part of the assignment must be completed individually. |
/04/strlen.asm /04/mult/mult.asm /04/fill/Fill.asmNote the capital F in the filename for Fill.asm as it is the case-sensitive name provided by the nand2tetris project. Other files in the zip file are ok and will be ignored. Also note that the Mult.tst file has been modified on the autograder to look for mult.hack with a lowercase m. The autograder will first assemble your .asm file into a .hack file and then run the .tst script.
15% strlen test autograder 5% strlen header, style, comments 35% mult test autograder 5% mult header, style, comments 35% fill test autograder 5% fill header, style, commentsEach file you submit must have an appropriate header that identifies the author, the date, class/semester, project name, and a short description of what it does. For the strlen assignment where collaboration is encouraged, you must indicate in the header the names of other students you worked with.