diff options
author | Michael Abed <michaelabed@gmail.com> | 2012-01-31 21:16:26 -0500 |
---|---|---|
committer | Michael Abed <michaelabed@gmail.com> | 2012-01-31 21:16:26 -0500 |
commit | c265371f7f5272c0dd849287a1e8b87fca0eedea (patch) | |
tree | f26e9abd3eadf29788df46dcdec648f72b297983 | |
parent | f35c611e2fda92ea2d8a47f645a3c75b036ccf58 (diff) | |
download | ec327-hw1-c265371f7f5272c0dd849287a1e8b87fca0eedea.tar.gz ec327-hw1-c265371f7f5272c0dd849287a1e8b87fca0eedea.tar.bz2 ec327-hw1-c265371f7f5272c0dd849287a1e8b87fca0eedea.zip |
get rid of needless things
-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 |