Probably solved an endian issue

This commit is contained in:
Pierre Pronchery 2011-04-24 16:46:26 +00:00
parent 887cec89da
commit 62978f4e08

View File

@ -66,7 +66,7 @@ static int _i386_decode(ArchPlugin * plugin, ArchInstructionCall * call)
call->operands_cnt = 1; call->operands_cnt = 1;
return 0; return 0;
} }
u16 = _htol16((u16 << 8) | u8); u16 = (u16 << 8) | u8;
if((ai = helper->get_instruction_by_opcode(helper->arch, 16, if((ai = helper->get_instruction_by_opcode(helper->arch, 16,
u16)) == NULL) u16)) == NULL)
{ {