EtchedPixels / Fuzix-Compiler-Kit

Fuzix C Compiler Project
Other
49 stars 14 forks source link

be-code-6800.c gen_fast_div() has a typo #126

Closed zu2 closed 1 month ago

zu2 commented 1 month ago
--- ../Fuzix-Compiler-Kit/be-code-6800.c    2024-10-23 08:39:07
+++ be-code-6800.c  2024-10-23 15:44:21
@@ -1062,7 +1062,7 @@
        if (cpu_has_d)
            printf("\taddd #%u\n", m);
        else {
-           printf("\taddb #%u\n\taddca #%u\n",
+           printf("\taddb #%u\n\tadca #%u\n",
                m  & 0xFF, m >> 8);
        }
        printf("X%u:\n", label);
EtchedPixels commented 1 month ago

thanks - fixed in my tree