summaryrefslogtreecommitdiff
path: root/problem1.asm
diff options
context:
space:
mode:
Diffstat (limited to 'problem1.asm')
-rw-r--r--problem1.asm2
1 files changed, 2 insertions, 0 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: