mirror of
https://github.com/soconnor0919/eceg431.git
synced 2025-12-11 22:54:43 -05:00
11 lines
391 B
NASM
11 lines
391 B
NASM
// 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.
|