User Tools

Site Tools


base:kernal_floating_point_mathematics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
base:kernal_floating_point_mathematics [2017-10-22 15:22] – [7.3 Integer to FP] shrydarbase:kernal_floating_point_mathematics [2018-03-20 23:36] – [Faster Square Root] egonolsen
Line 432: Line 432:
   
  lda value ;get guess based on argument  lda value ;get guess based on argument
 +        clc
  ror  ror
  bcs sqrtadd  bcs sqrtadd
  ldx #$80  ldx #$80
- sta result+1+ stx result+1
 sqrtadd adc #$40 sqrtadd adc #$40
  sta result  sta result
base/kernal_floating_point_mathematics.txt · Last modified: 2020-12-06 20:48 by pararaum