diff options
-rw-r--r-- | problem1.asm | 2 | ||||
-rw-r--r-- | problem3.asm | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/problem1.asm b/problem1.asm index 5cdcfc0..8ba4e9a 100644 --- a/problem1.asm +++ b/problem1.asm @@ -8,6 +8,8 @@ cmp R3, R4 je zero sub R1, R2 + cmp R1, R4 + je zero mov R4, R1 mov R1, 0x0 loop: diff --git a/problem3.asm b/problem3.asm index 29a1a56..5f58bb1 100644 --- a/problem3.asm +++ b/problem3.asm @@ -13,7 +13,6 @@ loop: sub R1, R3 cmp R1, R4 jne loop - mov R0, 0x3F mov R2, [R0] add R5, R2 @@ -21,7 +20,5 @@ loop: add R0, R1 mov R2, [R0] add R5, R2 - mov R0, 0x1E mov [R0], R5 - halt |