; (a-b)*c mov R5, 0x1 mov R1, [R5] inc R5 mov R2, [R5] inc R5 mov R3, [R5] sub R1, R2 mov R2, 0x1 mov R4, R1 loop: add R1, R4 inc R2 cmp R2, R3 jne loop mov R2, 0x1E mov [R2], R1 halt