aboutsummaryrefslogtreecommitdiff
path: root/bignum.s
diff options
context:
space:
mode:
Diffstat (limited to 'bignum.s')
-rw-r--r--bignum.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/bignum.s b/bignum.s
index 06e99ab..27580d5 100644
--- a/bignum.s
+++ b/bignum.s
@@ -312,7 +312,7 @@ _big_cmp:
; subtract (and throw away the result, only care about sign)
jsr FSUB ; FR0 = FR0 - FR1
- ldx #0
lda FR0 ; exponent has sign bit, and happily is 0 if the result was 0!
+ tax ; sign extension, grr.
rts