added cond checking to Assembler#convert_hex