new version
authorTobias Girstmair <t@thi3nkpad.lan>
Tue, 13 Nov 2018 00:25:40 +0000 (01:25 +0100)
committerTobias Girstmair <t@thi3nkpad.lan>
Tue, 13 Nov 2018 00:25:40 +0000 (01:25 +0100)
foo.c

diff --git a/foo.c b/foo.c
index 5a8f4a058b24dff00b8e41bf3a7e5db4cc29d865..71154c95f2baaf15f4fe073f002c9ca5ec0d0661 100644 (file)
--- a/foo.c
+++ b/foo.c
@@ -85,7 +85,9 @@ int main(void) {
                //voice 3:
                MOV     (x, s)
                INC     (x)
+               #define tmp o
                x = (x*0x55)>>8;
+               #undef tmp
                t = n + (((i3&0x01)<<13 | i2<<5 | i1>>3) % 3);
                LDI     (o, 10)
                RCALL   g();
Imprint / Impressum