git://git.gir.st
/
Chiptunes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8412265
)
new version
author
Tobias Girstmair
<t@thi3nkpad.lan>
Sat, 17 Nov 2018 19:42:45 +0000
(20:42 +0100)
committer
Tobias Girstmair
<t@thi3nkpad.lan>
Sat, 17 Nov 2018 19:42:45 +0000
(20:42 +0100)
foo.c
patch
|
blob
|
blame
|
history
diff --git
a/foo.c
b/foo.c
index 9a7bbe9e5a4e74128f8f282ebe93ea7007d707c4..dcf47f42bdd3f7e378c3c221200584785dbe4ed1 100644
(file)
--- a/
foo.c
+++ b/
foo.c
@@
-86,9
+86,9
@@
void g(void) {
ADD (a1, i0)
ADC (a2, i1, carry)
}
- t >>= 1; t|=a1<<7; //3. ROR t
- a1>>= 1;a1|=a2<<7; //2. ROR a1
- a2>>= 1; //1. LSR a2
+ LSR (a2)
+ ROR (a1)
+ ROR (t)
}
t = a1;
#undef a0