User Tools

Site Tools


base:16bit_and_24bit_sqrt

Differences

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

Link to this comparison view

base:16bit_and_24bit_sqrt [2019-07-23 00:15]
verz ;
base:16bit_and_24bit_sqrt [2019-08-18 09:59] (current)
verz
Line 32: Line 32:
 </​code>​ </​code>​
  
 +\\
 And here a version for a 24bit input number: (use page zero locations for best performance;​ anyway is a bit slow!) And here a version for a 24bit input number: (use page zero locations for best performance;​ anyway is a bit slow!)
  
-<​code>​+<​code ​6502acme> 
 +;​----------------------------------- 
 +;   ​Square Root of a 24bit number 
 +;​----------------------------------- 
 +; by Verz - Jul2019 
 +;​----------------------------------- 
 +
 +;  load the 24bit input in square 
 +;  16bit result in  sqrt & remainder 
 +;​-----------------------------------
  
 square ​   byte 0,0,0     ; input number square ​   byte 0,0,0     ; input number
base/16bit_and_24bit_sqrt.txt · Last modified: 2019-08-18 09:59 by verz