From ba0c2dd1bc8c45f0d55a9d966bac0d1d48e87e7c Mon Sep 17 00:00:00 2001 From: Michael Abed Date: Tue, 31 Jan 2012 09:41:56 -0500 Subject: make it smaller --- problem2.asm | 8 ++------ 1 file 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 -- cgit v1.2.3-54-g00ecf