diff --git a/src/debug/debug_disasm.cpp b/src/debug/debug_disasm.cpp index f1e2deed..6d8d5bc8 100644 --- a/src/debug/debug_disasm.cpp +++ b/src/debug/debug_disasm.cpp @@ -949,7 +949,9 @@ static void percent(char type, char subtype) break; case '2': /* old [pop cs]! now indexes */ - ua_str(second[getbyte()]); /* instructions in 386/486 */ + c = getbyte(); + wordop = c & 1; + ua_str(second[c]); /* instructions in 386/486 */ break; case 'g': /* modrm group `subtype' (0--7) */