Displaying 1 result from an estimated 1 matches for "6101aeb".
2009 Mar 17
1
[PATCH 1/1] CORE/writedec: Fix overflow and redeclaration
...y: Gene Cumm <gene.cumm at gmail.com>
---
Against current head.
hpa: If there's a preferred way to do what this function provides, let
me know. Was the writechr in there on purpose to prevent the use of
this function?
diff --git a/core/writedec.inc b/core/writedec.inc
index 10bf7ba..6101aeb 100644
--- a/core/writedec.inc
+++ b/core/writedec.inc
@@ -37,7 +37,8 @@ writedec_common:
xor cx,cx ; Number of digits
.cloop:
- div ebx
+ mov edx,0 ; Zero out high part
+ div ebx ; unsigned divi...