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:
17c5b4e
)
new version
author
Tobias Girstmair
<t@thi3nkpad.lan>
Tue, 13 Nov 2018 00:26:51 +0000
(
01:26
+0100)
committer
Tobias Girstmair
<t@thi3nkpad.lan>
Tue, 13 Nov 2018 00:26:51 +0000
(
01:26
+0100)
foo.c
patch
|
blob
|
blame
|
history
diff --git
a/foo.c
b/foo.c
index 71154c95f2baaf15f4fe073f002c9ca5ec0d0661..7c030a4a2cf2b4eb7645f75f27643342f5dbea97 100644
(file)
--- a/
foo.c
+++ b/
foo.c
@@
-94,7
+94,11
@@
int main(void) {
ADD (acc, t)
//voice 4:
- x = s / 5;
+ MOV (x, s)
+ INC (x)
+ #define tmp o
+ x = (x*0x33)>>8;
+ #undef tmp
t = 8 + n - (((i3&0x01)<<14 | i2<<6 | i1>>2) % 3);
LDI (o, 9)
RCALL g();