... y u no have clear mnemonics?
I just spent an hour debugging the hell out of my cube root function only to find out it was my internal assembler compare function that was at fault.
For future reference: use ja, jb, etc. for unsigned compares. Use jg, jl and certainly js (that s means something) for signed compares.
On the other hand: I only have to do the nth-power root and the division-with-remainder subroutine (tricky, have to set thinBasic variables directly) and the module will have the same functionality as the thinBasic include script.
Bookmarks