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

diff --git a/foo.c b/foo.c
index 9a7bbe9..dcf47f4 100644 (file)
--- a/foo.c
+++ b/foo.c
@@ -86,9 +86,9 @@ void g(void) {
                        ADD     (a1, i0)
                        ADC     (a2, i1, carry)
                }
-               t >>= 1; t|=a1<<7;             //3. ROR t
-               a1>>= 1;a1|=a2<<7;             //2. ROR a1
-               a2>>= 1;                       //1. LSR a2
+               LSR     (a2)
+               ROR     (a1)
+               ROR     (t)
        }
        t = a1;
        #undef a0
Imprint / Impressum