new version
authorTobias Girstmair <tobi@isticktoit.net>
Thu, 4 Mar 2021 02:07:07 +0000 (03:07 +0100)
committerTobias Girstmair <tobi@isticktoit.net>
Thu, 4 Mar 2021 02:07:07 +0000 (03:07 +0100)
bsv.c

diff --git a/bsv.c b/bsv.c
index 4adf7a8725a2502d1b487c0efee8c014618fa1b9..2a6b539731171471282c4b4845b4df134a09f645 100644 (file)
--- a/bsv.c
+++ b/bsv.c
@@ -77,10 +77,10 @@ void main(void){
                ADD     (sample, acc)
 
                MOV     (acc, n)
+               ADD     (acc, 8)
                { u8 tmp3 = (i2<<6|i1>>2)%3;
                  SUB   (acc, tmp3)
                } // tmp3
-               ADD     (acc, 8)
                CALL    (g)
                SR      (acc)
                MOV     (tmp_1, acc) // acc saved in tmp_1; fresh acc
Imprint / Impressum