Changeset 42051 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jul 9, 2012 12:42:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS-new/MakeDebianBiosAssembly.cpp
r41760 r42051 839 839 && pCpuState->ModRM.Bits.Reg != 0) 840 840 fDifferent = true; 841 /** @todo "TEST Eb,Ib" (f6 0f 08) ends up with no mnemonic as well as842 * wrong length (2 instead of 3)! */843 else if ( pCpuState->bOpCode == 0xf6844 && pb[1] == 0x0f845 && pb[2] == 0x08846 && RT_C_IS_SPACE(*pszBuf) )847 fDifferent = true;848 /** @todo "INSB Yb,DX" (6c) ends up with no mnemonic here. */849 else if (pCpuState->bOpCode == 0x6c && RT_C_IS_SPACE(*pszBuf))850 fDifferent = true;851 841 /* 852 842 * Check these out and consider adding them to DISFormatYasmIsOddEncoding. … … 860 850 && pb[2] == 0xba) 861 851 fDifferent = true; /* mov ch, 0bah - yasm uses a short sequence: 0xb5 0xba. */ 862 /*863 * Switch table fun (.sym may help):864 */865 #if 0866 else if ( pb[0] == 0x64867 && pb[1] == 0x65868 && pb[2] == 0x05869 /*&& pb[3] == 0x61870 && pb[4] == 0x19*/)871 fDifferent = true; /* gs add ax, 01961h - both fs and gs prefix. Probably some switch table. */872 else if ( pb[0] == 0x65873 && pb[1] == 0x36874 && pb[2] == 0x65875 && pb[3] == 0xae)876 fDifferent = true; /* gs scasb - switch table or smth. */877 else if ( pb[0] == 0x67878 && pb[1] == 0xe7879 /*&& pb[2] == 0x67*/)880 fDifferent = true; /* out 067h, ax - switch table or smth. */881 #endif882 852 883 853 … … 972 942 disReadOpcodeBytes, NULL, &CpuState, &cbInstr); 973 943 if ( RT_SUCCESS(rc) 974 && cbInstr <= cb) 944 && cbInstr <= cb 945 && CpuState.pCurInstr 946 && CpuState.pCurInstr->uOpcode != OP_INVALID) 975 947 { 976 948 char szTmp[4096];
Note:
See TracChangeset
for help on using the changeset viewer.