From: Tobias Girstmair Date: Tue, 13 Nov 2018 02:31:26 +0000 (+0100) Subject: new version X-Git-Tag: attiny9~84 X-Git-Url: https://git.gir.st/Chiptunes.git/commitdiff_plain/3df69ede2706d22006a87fd4e7844276a00d3408 new version --- diff --git a/foo.c b/foo.c index 0f4434e..1497b21 100644 --- 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)