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:
7afa39f
)
new version
author
Tobias Girstmair
<t@thi3nkpad.lan>
Tue, 13 Nov 2018 00:24:55 +0000
(
01:24
+0100)
committer
Tobias Girstmair
<t@thi3nkpad.lan>
Tue, 13 Nov 2018 00:24:55 +0000
(
01:24
+0100)
foo.c
patch
|
blob
|
blame
|
history
diff --git
a/foo.c
b/foo.c
index 8341518391d34456ed87762cf22353ef623080d8..5a8f4a058b24dff00b8e41bf3a7e5db4cc29d865 100644
(file)
--- a/
foo.c
+++ b/
foo.c
@@
-83,7
+83,9
@@
int main(void) {
ADD (acc, t)
//voice 3:
- x = s / 3;
+ MOV (x, s)
+ INC (x)
+ x = (x*0x55)>>8;
t = n + (((i3&0x01)<<13 | i2<<5 | i1>>3) % 3);
LDI (o, 10)
RCALL g();