core/writedec: Remove writechr; fix overflow in .cloop
authorGene Cumm <gene.cumm@gmail.com>
Sun, 24 Oct 2010 21:15:41 +0000 (17:15 -0400)
committerGene Cumm <gene.cumm@gmail.com>
Sun, 24 Oct 2010 21:15:41 +0000 (17:15 -0400)
writechr is found in other files and this prevents a compile error.

core/writedec.inc

index bfac099..19e4796 100644 (file)
@@ -37,6 +37,7 @@ writedec_common:
                xor cx,cx               ; Number of digits
 
 .cloop:
+               mov edx,0
                div ebx
                inc cx
                push dx
@@ -53,5 +54,5 @@ writedec_common:
                popad
                ret
 
-writechr:
-               ret
+writechr:
+;              ret