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