all repos — nand2tetris @ eba8ddfc31c4a7ad1a1cfdd0b3e9663b5e3f0312

my nand2tetris progress

projects/04/mult/Mult.asm

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
// 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/04/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.)
//
// This program only needs to handle arguments that satisfy
// R0 >= 0, R1 >= 0, and R0*R1 < 32768.

// Put your code here.