Administrator

Yes, your implementation is fine. The goal of chapter 4 is to learn the Hack CPU architecture by learning the machine language, so anything that computes multiplication successfully shows that you have learned how memory accesses, conditional jumps, etc. work.
The way you did your multiply, but done in base 2 instead of base 10, is the conventional way to do multiplication in software.
Mark
