From 47ce755193d18704ffaf9dc3e5953dd6966f1db1 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 25 Mar 2021 15:14:25 -0400 Subject: Save 27 bytes --- bigfloat.s | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'bigfloat.s') diff --git a/bigfloat.s b/bigfloat.s index d3115bc..2d30855 100644 --- a/bigfloat.s +++ b/bigfloat.s @@ -3,7 +3,7 @@ .importzp ptr3, sreg .import popeax, popax, pushax, _memcmp .export _ulong_to_big, _big_to_ulong, _big_add, _big_sub, _big_mul, _big_div - .export _bank_maxed_out, _big_cmp, _big_copy, _big_negate + .export _bank_maxed_out, _big_cmp, _big_copy ;, _big_negate .include "atari.inc" @@ -93,14 +93,14 @@ fptemp_to_fr1: ; void __fastcall__ big_negate(bignump b); ; This doesn't call the ROM or use FR0/FR1, it just inverts the sign ; bit in-place. -_big_negate: - sta ptr3 - stx ptr3+1 - ldy #0 - lda (ptr3),y - eor #$80 - sta (ptr3),y - rts +;_big_negate: +; sta ptr3 +; stx ptr3+1 +; ldy #0 +; lda (ptr3),y +; eor #$80 +; sta (ptr3),y +; rts ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; truncate FR0 to integer (no rounding: 2.8 -> 2) -- cgit v1.2.3