> >BinDec: LD B,16 ;7 > LD DE,0 ;10 > >Loop: ADD HL,HL ;11 > > LD A,E ;4 > ADC A,A ;4 > DAA ;4 > LD E,A ;4 > > LD A,D ;4 > ADC A,A ;4 > DAA ;4 > LD D,A ;4 > > DJNZ Loop ;13/8 > > RET ;10 Ah, Z-80, my first, true love. And in Zilog mnemonics, no less! Andy ================================================================== Andy Kunz - Montana Design - 409 S 6th St - Phillipsburg, NJ 08865 Hardware & Software for Industry & R/C Hobbies "Go fast, turn right, and keep the wet side down!" ==================================================================