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:
128ff01
)
new version
author
Tobias Girstmair
<t@thi3nkpad.lan>
Mon, 12 Nov 2018 23:59:50 +0000
(
00:59
+0100)
committer
Tobias Girstmair
<t@thi3nkpad.lan>
Mon, 12 Nov 2018 23:59:50 +0000
(
00:59
+0100)
foo.c
patch
|
blob
|
blame
|
history
diff --git
a/foo.c
b/foo.c
index f8703c351e36b1ba4f33e72f8617ab2bb286a625..4caddeafebf85fbbbaa77418b9b04b33dcd090bd 100644
(file)
--- a/
foo.c
+++ b/
foo.c
@@
-41,7
+41,9
@@
int main(void) {
LSL (n)
#define tmp acc
MOV (tmp, i1)
- tmp >>= 6;
+ SWAP (tmp)
+ ANDI (tmp, 0x0f)
+ tmp >>= 2;
OR (n, tmp)
#undef tmp
s = (i3<<7 | i2>>1);