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 revision
Previous 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 [2019-10-14 07:59] – error/typo corrected silverdr
Line 30: Line 30:
 **$69** holds the exponent\\ **$69** holds the exponent\\
 **$6a-$6d** holds the mantissa\\ **$6a-$6d** holds the mantissa\\
-**$63** holds the sign in bit 7\\+**$6e** holds the sign in bit 7\\
  
  
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