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

diff --git a/bsv.c b/bsv.c
index d1fe79513e9049aa2f43b78300d845550345b0e5..f9a41a7a5bdb8a14c2ae5380945841965cd5bcef 100644 (file)
--- a/bsv.c
+++ b/bsv.c
@@ -78,7 +78,9 @@ void main(void){
                AND     (acc, 3)
                ADD     (sample, acc)
 
-               putchar(sample<<4);
+               MOV     (acc, sample)
+               SWAP    (acc)
+               putchar(acc);
 
                INC     (i0)
                i1 += !i0; // ADDC i1
Imprint / Impressum