fix endian issue in Assembler::emit6bytes