diff options
-rw-r--r-- | problem4.asm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/problem4.asm b/problem4.asm index 9c52c4e..3bf06de 100644 --- a/problem4.asm +++ b/problem4.asm @@ -5,10 +5,15 @@ mov R4, [R4] mov R5, R4 inc R2 + cmp R1, R0 + je zero cmp R1, R2 jne outer mov R0, R4 jmp done +zero: + mov R0, 0x1 + jmp done outer: mov R0, 0 inner: |