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