X-Git-Url: https://git.gir.st/Chiptunes.git/blobdiff_plain/128ff01a9102e54a045144d4bd3c40aebe3e248f..5d4207f9a0b24eec52054fa1674cded926f06a72:/foo.c diff --git a/foo.c b/foo.c index f8703c3..4caddea 100644 --- a/foo.c +++ b/foo.c @@ -41,7 +41,9 @@ int main(void) { LSL (n) #define tmp acc MOV (tmp, i1) - tmp >>= 6; + SWAP (tmp) + ANDI (tmp, 0x0f) + tmp >>= 2; OR (n, tmp) #undef tmp s = (i3<<7 | i2>>1);