new version
authorTobias Girstmair <t@thi3nkpad.lan>
Mon, 12 Nov 2018 23:53:43 +0000 (00:53 +0100)
committerTobias Girstmair <t@thi3nkpad.lan>
Mon, 12 Nov 2018 23:53:43 +0000 (00:53 +0100)
foo.c

diff --git a/foo.c b/foo.c
index b7a21e81de89e3a9eabc1543ac3c241ee6b5e420..45b8fc13d4be407f96f0ef53689a17e8176f38fc 100644 (file)
--- a/foo.c
+++ b/foo.c
@@ -55,7 +55,9 @@ int main(void) {
                LSL     (tmp)
                LSL     (tmp)
                MOV     (t, i1)
-               t >>= 5;
+               SWAP    (t)
+               ANDI    (t, 0xf)
+               LSR     (t)
                OR      (t, tmp)
                #undef tmp
                EOR     (t, n)
Imprint / Impressum