changeset 81:fbc14509955a

Fix comments on 32 bit division routine
author William Astle <lost@l-w.ca>
date Sat, 07 Oct 2023 12:59:43 -0600
parents bb50ac9fdf37
children 9a4e2364a966
files src/int.s
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/int.s	Sat Oct 07 02:56:59 2023 -0600
+++ b/src/int.s	Sat Oct 07 12:59:43 2023 -0600
@@ -309,9 +309,9 @@
                 ldd fpa0extra4
                 sbcb fpa1+fps.sig+1
                 sbca fpa1+fps.sig
-                bcs util_div32b                 ; brif it doesn't go - need to restore
+                bcs util_div32b                 ; brif it doesn't go - don't subtract or set bit
                 inc fpa0extra3                  ; set quotient bit
-                ldd fpa0extra6                  ; actuall do the subtraction
+                ldd fpa0extra6                  ; actually do the subtraction
                 subd fpa1+fps.sig+2
                 std fpa0extra6
                 ldd fpa0extra4