new version
authorTobias Girstmair <t@thi3nkpad.lan>
Tue, 13 Nov 2018 02:31:26 +0000 (03:31 +0100)
committerTobias Girstmair <t@thi3nkpad.lan>
Tue, 13 Nov 2018 02:31:26 +0000 (03:31 +0100)
foo.c

diff --git a/foo.c b/foo.c
index 0f4434e..1497b21 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)
Imprint / Impressum