All the arithmetic operations work now. String multiplication (as per
Perl (M-M-Ma-M-Max Headroom)) and modulus were the toughest since I had to implement them in Java assembler
(there's no operation or provided function for either), and I suck at writing assembler. String multiplication takes 19 instructions and modulus takes
12. They could be done in fewer... this assembler syntax must have
an unconditional jump! Unconditional jumps? I must have this assembler syntax!
So this works now:
Modulus program: calculates a%b Enter a: 1049 Enter b: 203 1049 % 203 = 34

![No comments [No comments]](/nb/assets/no-comments.png)