mister_e,

May I ask you what this BASIC routine would have become in assembly?

Please, don't waste your time if it is long to do.

I'm just curious to compare what "I know" (=BASIC) to what I don't (=ASM).

I don't really understand the difference between BASIC and ASSEMBLY in terms of program execution speed (looks to be faster in ASM but I don't understand why - have to find other threads for more info) because I never looked into it up to now - looks very complicated.