Fixed WDEB386 fielding of V86-mode exceptions

This commit is contained in:
Jeff Parsons 2015-10-20 19:23:45 -07:00
commit 7babb15868
3 changed files with 34 additions and 10 deletions

View file

@ -4572,10 +4572,14 @@ if (DEBUGGER) {
var sOpcode = Debugger.INS_NAMES[aOpDesc[0]];
var cOperands = aOpDesc.length - 1;
var sOperands = "";
if (this.isStringIns(bOpcode)) {
cOperands = 0; // suppress display of operands for string instructions
if (dbgAddr.fData32 && sOpcode.slice(-1) == 'W') sOpcode = sOpcode.slice(0, -1) + 'D';
}
/*
* TODO: We need a similar fixup for POPF and POPA when OPERAND size is 4 (to make them POPFD and POPAD)
*/
var typeCPU = null;
var fComplete = true;