Updated; (hopefully) fixed bug
Here is a link to the source code (with better formatting): http://pastebin.com/vbaB4jkP
Here is the source code:;; Multiply two numbers.SET C, 13 ; Number 1SET [4], 3 ; Number 2SET [2], C ; ResultSET [3], C ; IncrementSET [5], 2 ; Countermainloop: ; Add num to itself SET A, [3] SET B, [2] ADD C CLR [2] SET [2], C ; Now increment RAM counter SET A, [5] SET B, 1 ADD C SET [5], C ; Finally, check if sum has been reached SET B, [4]IFE mainloop ; If A != B, loopSET OUT, [2]END