new version
[Chiptunes.git] / foo.c
diff --git a/foo.c b/foo.c
index 4caddeafebf85fbbbaa77418b9b04b33dcd090bd..80843890b8a89c50f41860fa68dae294318de147 100644 (file)
--- a/foo.c
+++ b/foo.c
@@ -43,7 +43,8 @@ int main(void) {
                MOV     (tmp, i1)
                SWAP    (tmp)
                ANDI    (tmp, 0x0f)
-               tmp >>= 2;
+               LSR     (tmp)
+               LSR     (tmp)
                OR      (n, tmp)
                #undef tmp
                s = (i3<<7 | i2>>1);
Imprint / Impressum