summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--problem2.asm8
1 files changed, 2 insertions, 6 deletions
diff --git a/problem2.asm b/problem2.asm
index 392bd33..fc4c453 100644
--- a/problem2.asm
+++ b/problem2.asm
@@ -1,13 +1,10 @@
; first 10 fibonacci in 200-209
mov R5, 0x32
- mov R4, R5
- add R5, R4
- add R5, R4
- add R5, R4
+ add R5, R5
+ add R5, R5
mov R0, 0x1
mov R1, 0x1
mov R3, 0xA
- mov R4, 0
loop:
mov [R5], R0
mov R2, R1
@@ -17,4 +14,3 @@ loop:
inc R5
cmp R4, R3
jne loop
- halt