projects
/
info3
/
asm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3059659
)
(a-b)/2+b=(a+b)/2 -> ein punkt mehr ;)
author
hackbard
<hackbard>
Thu, 15 May 2003 22:16:50 +0000
(22:16 +0000)
committer
hackbard
<hackbard>
Thu, 15 May 2003 22:16:50 +0000
(22:16 +0000)
loesung4-2.new.s
patch
|
blob
|
history
diff --git
a/loesung4-2.new.s
b/loesung4-2.new.s
index
8022bc1
..
e77dcc7
100644
(file)
--- a/
loesung4-2.new.s
+++ b/
loesung4-2.new.s
@@
-22,9
+22,8
@@
loop:
sub r5,r3,r2
sub r5,r5,1
beqz r5,end
-sub r4,r3,r2
-srli r4,r4,1
-add r4,r4,r2 ; fast mitte
+add r4,r3,r2
+srli r4,r4,1 ; fast mitte
multu r6,r4,r4
sgt r7,r6,r1
beqz r7,incleft