ASL $FD ROL LDX #$08 .loop1 CMP $FC BCC *+4 SBC $FC ROL $FD ROL DEX BNE .loop1 LDX #$08 .loop2 CMP $FC BCC *+4 SBC $FC ROL $FE ASL DEX BNE .loop2
sec lda logtable,x sbc logtable,y tax lda exptable,x
loga(x)/loga(b)=logb(x)
logb(255)=255=log10(255)/log10(b) => log10(b)=log10(255)/255=0,009437 => b=1,02 (roughly)
Has anyone tried the "multiply with scaled reciprocal" approach for division?