Skip to content
Snippets Groups Projects
Commit 9fed0474 authored by clc5q's avatar clc5q
Browse files

Fix FNSTSW AX instr, which was omitting the AX operand mnemonic.

Former-commit-id: e042957c97b5006bed57bc5b8e81d572abb54f97
parent 4e6519ff
No related branches found
No related tags found
No related merge requests found
......@@ -1752,9 +1752,12 @@ void __bea_callspec__ DF_(PDISASM pMyDisasm)
(*pMyDisasm).Instruction.Category = FPU_INSTRUCTION+FPUCONTROL;
#ifndef BEA_LIGHT_DISASSEMBLY
(void) strcpy ((*pMyDisasm).Instruction.Mnemonic, "fnstsw ");
(void) strcpy((char*) &(*pMyDisasm).Argument1.ArgMnemonic, Registers16Bits[0]);
#endif
(*pMyDisasm).Argument1.ArgType = REGISTER_TYPE+GENERAL_REG+REG0;
(*pMyDisasm).Argument1.ArgSize = 16;
(*pMyDisasm).Argument2.ArgType = REGISTER_TYPE+FPU_REG;
(*pMyDisasm).Argument2.ArgSize = 16;
}
else if ((MyMODRM & 0xf) >=8) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment