new version
authorTobias Girstmair <tobi@isticktoit.net>
Thu, 4 Mar 2021 15:12:51 +0000 (16:12 +0100)
committerTobias Girstmair <tobi@isticktoit.net>
Thu, 4 Mar 2021 15:12:51 +0000 (16:12 +0100)
bsv.c

diff --git a/bsv.c b/bsv.c
index 33af069d58b9a2f2ef85a068898b76eef269c8a3..7e69be78cb2177bfb8736556475de2f827a72b5e 100644 (file)
--- a/bsv.c
+++ b/bsv.c
@@ -95,8 +95,11 @@ void main(void){
                AND     (acc, 3)
                ADD     (sample, acc)
 
-               mod3hi = i2>>3;
                MOV(acc, i2)
+               MOV(mod3hi, acc)
+               SR(mod3hi)
+               SR(mod3hi)
+               SR(mod3hi)
                SWAP(acc)
                AND(acc, 0xf0)
                SL(acc)
Imprint / Impressum