Thanks for the 16-bit division routine. I need 16 bits because it's for a prime number finder program. The remainder function is handy because it saves me a few cycles and a few bytes. Asm83P