static struct ptunit_result mov_al_16(void)
{
	uint8_t insn[] = { 0xa0, 0x3f, 0xaa, 0xbb, 0xcc, 0xdd, 0xee };

	ptu_boring(insn, 3, ptem_16bit);

	return ptu_passed();
}
static struct ptunit_result mov_al_32_em64(void)
{
	uint8_t insn[] = { 0x67, 0xa0, 0x3f, 0xaa, 0xbb, 0xcc, 0xdd, 0xee,
			   0xff, 0X11 };

	ptu_boring(insn, 6, ptem_64bit);

	return ptu_passed();
}
Exemple #3
0
static struct ptunit_result mov_al_16(void)
{
	pti_uint8_t insn[] = { 0x66, 0xA1, 0x3f, 0xaa, 0xbb,
			       0xcc, 0xdd, 0xee, 0xfF,
			       0X11 };

	ptu_boring(insn, 4, PTI_MODE_64);

	return ptu_passed();
}