VirtualBox

Changeset 9100 in vbox for trunk


Ignore:
Timestamp:
May 26, 2008 1:24:55 AM (17 years ago)
Author:
vboxsync
Message:

Corrected fstsw to fnstsw. The fstsw mnemonic is assembled into fwait+fnstsw, see the intel manuals (3-432 in Vol. 2A), so the correct name for DF /7 and DF E0 is fnstsw. The disassembler did turn a 9B DF E0 sequence into two instructions like it should, so it's just the mnemonics.

Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/disopcode.h

    r8377 r9100  
    495495#define OP_FRSTOR       482
    496496#define OP_FSAVE        483
    497 #define OP_FSTSW        484
     497#define OP_FNSTSW       484
    498498#define OP_FFREE        485
    499499#define OP_FUCOM        486
  • trunk/src/VBox/Disassembler/DisasmTables.cpp

    r8999 r9100  
    17841784    INVALID_OPCODE,
    17851785    OP("fsave %M",           IDX_ParseModRM,     0,          0,          OP_FSAVE,   OP_PARM_M,          OP_PARM_NONE,   OP_PARM_NONE, OPTYPE_HARMLESS /* fixme: wasn't initialized! */),
    1786     OP("fstsw %Mw",          IDX_ParseModRM,     0,          0,          OP_FSTSW,   OP_PARM_Mw,         OP_PARM_NONE,   OP_PARM_NONE, OPTYPE_HARMLESS /* fixme: wasn't initialized! */),
     1786    OP("fnstsw %Mw",         IDX_ParseModRM,     0,          0,          OP_FNSTSW,  OP_PARM_Mw,         OP_PARM_NONE,   OP_PARM_NONE, OPTYPE_HARMLESS /* fixme: wasn't initialized! */),
    17871787};
    17881788
     
    19691969
    19701970    /* e */
    1971     OP("fstsw ax",           IDX_ParseFixedReg,  0,          0,          OP_FSTSW,   OP_PARM_REG_AX,     OP_PARM_NONE,   OP_PARM_NONE,   OPTYPE_HARMLESS),
     1971    OP("fnstsw ax",          IDX_ParseFixedReg,  0,          0,          OP_FNSTSW,  OP_PARM_REG_AX,     OP_PARM_NONE,   OP_PARM_NONE,   OPTYPE_HARMLESS),
    19721972    INVALID_OPCODE,
    19731973    INVALID_OPCODE,
  • trunk/src/VBox/Disassembler/testcase/Makefile.kmk

    r9099 r9100  
    3636# Tests that will be build, disassembled and re-build from disassembly.
    3737VBOX_DISAS_TESTS_BUILD = \
     38        tstAsmFnstsw-1.asm \
    3839        tstAsmLock-1.asm \
    3940        tstAsmMovSeg-1.asm \
     
    5152## @todo tstBinMovzx-1.bin: does C7 imply 32-bit reg in 16-bit mode, or what exactly does it do?
    5253VBOX_DISAS_TESTS_BINARIES := \
    53         tstBinMovzx-1.bin
     54        tstBinMovzx-1.bin \
     55        tstBinFnstsw-1.bin
    5456ifeq ($(USER),bird)
    5557VBOX_DISAS_TESTS_BINARIES += \
     
    5759        tstBin-2.bin \
    5860        tstBin-3.bin \
     61        tstBin-4.bin
    5962#       $(PATH_BIN)/testcase/tstDisasm-2$(SUFF_EXEC)
    6063endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette