From: Tobias Girstmair Date: Mon, 12 Nov 2018 23:59:50 +0000 (+0100) Subject: new version X-Git-Tag: attiny9~112 X-Git-Url: https://git.gir.st/Chiptunes.git/commitdiff_plain/5d4207f9a0b24eec52054fa1674cded926f06a72?hp=128ff01a9102e54a045144d4bd3c40aebe3e248f new version --- 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);