new version
authorTobias Girstmair <tobi@isticktoit.net>
Thu, 4 Mar 2021 22:17:40 +0000 (23:17 +0100)
committerTobias Girstmair <tobi@isticktoit.net>
Thu, 4 Mar 2021 22:17:40 +0000 (23:17 +0100)
bsv.c

diff --git a/bsv.c b/bsv.c
index 5d3322083395242495f9aaf71b636c2b598c2aae..c7533ef71e2c9922bb29513b3e75c5e30cb65b8a 100644 (file)
--- a/bsv.c
+++ b/bsv.c
@@ -63,12 +63,12 @@ void g(void){
        u8 t  = acc; // note input (as returned by idxm)
        for (u8 loop = 0; loop < 8; loop++) {
                SR      (t)
-               if (!flag_c) // skip if carry set
+               /*T1SN  FLAG.C (0x00.1)*/       if (!flag_c) // skip if carry set
                goto skip;
-                       MOV     (acc, i0)
-                       ADD     (a1, acc)
-                       MOV     (acc, i1)
-                       ADDC    (a2, acc)
+               MOV     (acc, i0)
+               ADD     (a1, acc)
+               MOV     (acc, i1)
+               ADDC    (a2, acc)
        skip:   SR      (a2)
                SRC     (a1)
        }
Imprint / Impressum