Hey, thanks. That was quite some clever thinking. It even rounds up to multiples of 32 that are greater than 64. Fantastic! You da man, Eric :) -- On Wed, 22 Sep 1999 19:05:38 Eric Piel wrote: > >Humm.... >I think it's better (about 7 bytes): > >ld a,b >add a,32 ;31 to act as the second routine >and 11100000b >ld b,a >ret > >Eric Piel HotBot - Search smarter. http://www.hotbot.com