Mult.asm is a Hack assembly program that multiplies two non-negative integers using repeated addition.
It expects inputs R0 = x and R1 = y
It computes R2 = x × y using a loop: adds x to a total y times
Designed to run on the Hack computer, not on the CPU emulator alone (since it relies on RAM addresses)
This is a pure-software implementation of multiplication for a machine without a native multiply instruction.
Program works for non-negative integers only
It uses repeated addition — not optimized for speed
Mult.asm demonstrates how to implement arithmetic operations in low-level Hack assembly using only basic instructions