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
(from parent 1:
f84bcb7
)
new version
author
Tobias Girstmair
<t@thi3nkpad.lan>
Tue, 13 Nov 2018 02:31:26 +0000
(
03:31
+0100)
committer
Tobias Girstmair
<t@thi3nkpad.lan>
Tue, 13 Nov 2018 02:31:26 +0000
(
03:31
+0100)
foo.c
patch
|
blob
|
blame
|
history
diff --git
a/foo.c
b/foo.c
index 0f4434eff1c684f789b2093afe094da1c5ed7be2..1497b21174d209da4ed009e8111850ba7cd9d059 100644
(file)
--- a/
foo.c
+++ b/
foo.c
@@
-134,7
+134,7
@@
int main(void) {
putchar(acc<<4);
#define tmp acc
- LDI (tmp, 0)
+ CLR (tmp) //NOTE: maybe use dedicated zero register?
SUBI (i0, -1)
ADC (i1, tmp, !i0)
ADC (i2, tmp, !i0&&!i1)