Changeset 11462 in vbox
- Timestamp:
- Aug 18, 2008 12:35:02 PM (16 years ago)
- Location:
- trunk/src/VBox/Disassembler
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Disassembler/DisasmCore.cpp
r11461 r11462 441 441 { 442 442 if (pOp->optype & OPTYPE_FORCED_64_OP_SIZE) 443 pCpu->op size = CPUMODE_64BIT;443 pCpu->opmode = CPUMODE_64BIT; 444 444 else 445 445 if ( (pOp->optype & OPTYPE_DEFAULT_64_OP_SIZE) 446 446 && !(pCpu->prefix & PREFIX_OPSIZE)) 447 pCpu->op size = CPUMODE_64BIT;447 pCpu->opmode = CPUMODE_64BIT; 448 448 } 449 449 … … 515 515 /* Note: redundant, but just in case this ever changes */ 516 516 if (fpop->optype & OPTYPE_FORCED_64_OP_SIZE) 517 pCpu->op size = CPUMODE_64BIT;517 pCpu->opmode = CPUMODE_64BIT; 518 518 else 519 519 if ( (fpop->optype & OPTYPE_DEFAULT_64_OP_SIZE) 520 520 && !(pCpu->prefix & PREFIX_OPSIZE)) 521 pCpu->op size = CPUMODE_64BIT;521 pCpu->opmode = CPUMODE_64BIT; 522 522 } 523 523 -
trunk/src/VBox/Disassembler/DisasmTest.cpp
r10276 r11462 72 72 pInstr = (RTUINTPTR)TestProc64; 73 73 74 ////__debugbreak(); 74 75 for (int i=0;i<50;i++) 75 76 { -
trunk/src/VBox/Disassembler/DisasmTestA.asm
r10275 r11462 71 71 align 16 72 72 BEGINPROC TestProc64 73 call qword [r8+10h] 74 ; test 75 db 48h 76 db 8bh 77 db 44h 78 db 0ah 79 db 0f8h 73 80 ;incorrectly assembled by yasm; REX.W should not be added! 74 81 ;test rax, dword 0cc90cc90h 82 db 8bh 83 db 04h 84 db 8dh 85 db 00h 86 db 00h 87 db 0feh 88 db 0ffh 75 89 mov qword [rcx+rdx], 0 76 90 mov dword [rcx+rdx], 0
Note:
See TracChangeset
for help on using the changeset viewer.