new version
authorTobias Girstmair <t@thi3nkpad.lan>
Sat, 17 Nov 2018 17:42:30 +0000 (18:42 +0100)
committerTobias Girstmair <t@thi3nkpad.lan>
Sat, 17 Nov 2018 17:42:30 +0000 (18:42 +0100)
foo.c

diff --git a/foo.c b/foo.c
index 24c625e..0d6754d 100644 (file)
--- a/foo.c
+++ b/foo.c
@@ -177,9 +177,8 @@ int main(void) {
                ADD     (tmp, x)
                ROR     (tmp)
                LSR     (tmp)
-                MOV    (x, tmp)
+               AND     (t, tmp)
                #undef tmp
-               AND     (t, x)
                ADD     (acc, t)
 
                //voice 4:
@@ -227,9 +226,8 @@ int main(void) {
                ROR     (tmp)
                LSR     (tmp)
                LSR     (tmp)
-                MOV    (x, tmp)
+               AND     (t, tmp)
                #undef tmp
-               AND     (t, x)
                ADD     (acc, t)
 
                putchar(acc<<4); //TODO
Imprint / Impressum