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

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