tests: fix typo referencing X86 in test_systemz.c. bug reported by Ben Nagy
This commit is contained in:
parent
c2638ce57f
commit
7eff377630
|
@ -57,10 +57,10 @@ static void print_insn_detail(cs_insn *ins)
|
||||||
break;
|
break;
|
||||||
case SYSZ_OP_MEM:
|
case SYSZ_OP_MEM:
|
||||||
printf("\t\toperands[%u].type: MEM\n", i);
|
printf("\t\toperands[%u].type: MEM\n", i);
|
||||||
if (op->mem.base != X86_REG_INVALID)
|
if (op->mem.base != SYSZ_REG_INVALID)
|
||||||
printf("\t\t\toperands[%u].mem.base: REG = %s\n",
|
printf("\t\t\toperands[%u].mem.base: REG = %s\n",
|
||||||
i, cs_reg_name(handle, op->mem.base));
|
i, cs_reg_name(handle, op->mem.base));
|
||||||
if (op->mem.index != X86_REG_INVALID)
|
if (op->mem.index != SYSZ_REG_INVALID)
|
||||||
printf("\t\t\toperands[%u].mem.index: REG = %s\n",
|
printf("\t\t\toperands[%u].mem.index: REG = %s\n",
|
||||||
i, cs_reg_name(handle, op->mem.index));
|
i, cs_reg_name(handle, op->mem.index));
|
||||||
if (op->mem.length != 0)
|
if (op->mem.length != 0)
|
||||||
|
|
Loading…
Reference in New Issue