X-Git-Url: https://git.gir.st/Chiptunes.git/blobdiff_plain/2666c079eaffb6267498d092d8acdba3c167b1b8..17c5b4e971ee0724a8a053bac25543e16e95a9e1:/foo.c diff --git a/foo.c b/foo.c index 5a8f4a0..71154c9 100644 --- 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();