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

diff --git a/foo.c b/foo.c
index 634e5ce087d6255250a1a8b98e92d17d99ed3cb2..8eb42f3373b0d340fc433e792e4d4aa9750d05a7 100644 (file)
--- a/foo.c
+++ b/foo.c
@@ -50,7 +50,7 @@ int main(void) {
 
                //voice 2:
                MOV     (x, s)
 
                //voice 2:
                MOV     (x, s)
-               t = n ^ (i3<<11 | i2<<3 | i1>>5);
+               t = n ^ (i2<<3 | i1>>5);
                LDI     (o, 10)
                RCALL   g(i);
                ADD     (acc, t)
                LDI     (o, 10)
                RCALL   g(i);
                ADD     (acc, t)
Imprint / Impressum