project04: add template files

This commit is contained in:
2025-09-03 10:45:45 -04:00
parent d0c67845f4
commit dd31b8f1dc
5 changed files with 148 additions and 0 deletions

10
04/mult/Mult.asm Normal file
View File

@@ -0,0 +1,10 @@
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/4/Mult.asm
// Multiplies R0 and R1 and stores the result in R2.
// (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.)
// The algorithm is based on repetitive addition.
//// Replace this comment with your code.