fixed memref disasm

This commit is contained in:
Stanislav Shwartsman 2013-10-05 11:00:31 +00:00
parent d4bfbffdbb
commit 67bce7af97

View File

@ -90,6 +90,8 @@ char *resolve_memref(char *disbufptr, const bxInstruction_c *i, const char *regn
{
unsigned sib_base = i->sibBase(), sib_index = i->sibIndex(), sib_scale = i->sibScale();
if (sib_index == 4) sib_index = BX_NIL_REGISTER;
if (sib_base == BX_NIL_REGISTER)
{
if (sib_index == BX_NIL_REGISTER)