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

diff --git a/foo.c b/foo.c
index 0a46975..1d9ade9 100644 (file)
--- a/foo.c
+++ b/foo.c
@@ -211,22 +211,20 @@ int main(void) {
                RCALL   g();
                LSR     (t)
                ANDI    (t, 3)
-               #define x s //don't need `s` afterwards
-               INC     (x)
+               INC     (s)
                #define tmp _
-                MOV    (tmp, x)
+                MOV    (tmp, s)
                LSR     (tmp)
-                ADD    (tmp, x)
+                ADD    (tmp, s)
                ROR     (tmp)
                LSR     (tmp)
                LSR     (tmp)
-                ADD    (tmp, x)
+                ADD    (tmp, s)
                ROR     (tmp)
-                ADD    (tmp, x)
+                ADD    (tmp, s)
                ROR     (tmp)
                LSR     (tmp)
                LSR     (tmp)
-               #undef x
                AND     (t, tmp)
                #undef tmp
                ADD     (acc, t)
Imprint / Impressum