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:
6bc3ca8
)
new version
author
Tobias Girstmair
<t@thi3nkpad.lan>
Tue, 13 Nov 2018 00:27:28 +0000
(
01:27
+0100)
committer
Tobias Girstmair
<t@thi3nkpad.lan>
Tue, 13 Nov 2018 00:27:28 +0000
(
01:27
+0100)
foo.c
patch
|
blob
|
blame
|
history
diff --git
a/foo.c
b/foo.c
index 7c030a4a2cf2b4eb7645f75f27643342f5dbea97..f135f288387ebe5d225706bdad0abc8fa85b71d8 100644
(file)
--- a/
foo.c
+++ b/
foo.c
@@
-88,7
+88,8
@@
int main(void) {
#define tmp o
x = (x*0x55)>>8;
#undef tmp
- t = n + (((i3&0x01)<<13 | i2<<5 | i1>>3) % 3);
+ t = ((i3&0x01)<<13 | i2<<5 | i1>>3) % 3;
+ ADD (t, n)
LDI (o, 10)
RCALL g();
ADD (acc, t)