From 5bc66d574cf71cbebe79b2bc27f5a076cbc0c912 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 14 Jan 2016 17:32:21 -0500 Subject: initial attempt at floating bank (with bugs!) --- bignum.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bignum.s') 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 -- cgit v1.2.3