aboutsummaryrefslogtreecommitdiff
path: root/bignum.s
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-01-14 17:32:21 -0500
committerB. Watson <yalhcru@gmail.com>2016-01-14 17:32:21 -0500
commit5bc66d574cf71cbebe79b2bc27f5a076cbc0c912 (patch)
tree417fb78f056a8d6e8b3ae62ef1d101aa6212d7b1 /bignum.s
parent9dbe0b40cfda998339fcc1e57b6aafe2cf5bc689 (diff)
downloadtaipan-5bc66d574cf71cbebe79b2bc27f5a076cbc0c912.tar.gz
initial attempt at floating bank (with bugs!)
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