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:
3d47290
)
new version
author
Tobias Girstmair
<t@thi3nkpad.lan>
Mon, 12 Nov 2018 23:15:43 +0000
(
00:15
+0100)
committer
Tobias Girstmair
<t@thi3nkpad.lan>
Mon, 12 Nov 2018 23:15:43 +0000
(
00:15
+0100)
foo.c
patch
|
blob
|
blame
|
history
diff --git
a/foo.c
b/foo.c
index de8410b60a0f4db284152062d404fea1b77fde08..9d42341197c20a6a46cb0c958c833906bbb2f72e 100644
(file)
--- a/
foo.c
+++ b/
foo.c
@@
-4,7
+4,7
@@
typedef unsigned char u8;
u8* data = "Qj}6jQ6%BY}6YB6%";
int g(int i, u8 x, u8 t, u8 o) {
- t = t & 0x7;
+ ANDI (t, 0x07)
if (3 & i >> 16 ) t+=8;
u8 xxx = data[t];
SUBI (xxx, -51)