fixed debug print message for BOUND instruction

This commit is contained in:
Stanislav Shwartsman 2013-07-22 18:52:15 +00:00
parent 3202743c31
commit 4a36fb3edc

View File

@ -34,7 +34,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::BOUND_GwMa(bxInstruction_c *i)
Bit16s bound_max = (Bit16s) read_virtual_word_32(i->seg(), (eaddr+2) & i->asize_mask());
if (op1_16 < bound_min || op1_16 > bound_max) {
BX_INFO(("BOUND_GdMa: fails bounds test"));
BX_DEBUG(("BOUND_GwMa: fails bounds test"));
exception(BX_BR_EXCEPTION, 0);
}
@ -51,7 +51,7 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::BOUND_GdMa(bxInstruction_c *i)
Bit32s bound_max = (Bit32s) read_virtual_dword_32(i->seg(), (eaddr+4) & i->asize_mask());
if (op1_32 < bound_min || op1_32 > bound_max) {
BX_INFO(("BOUND_GdMa: fails bounds test"));
BX_DEBUG(("BOUND_GdMa: fails bounds test"));
exception(BX_BR_EXCEPTION, 0);
}