new version
[Chiptunes.git] / foo.c
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)
Imprint / Impressum