Changeset 8355 in vbox
- Timestamp:
- Apr 24, 2008 11:20:37 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Disassembler/DisasmCore.cpp
r8352 r8355 627 627 628 628 case OP_PARM_P: //MMX register 629 reg &= 7; /* REX.R has no effect here */ 629 630 disasmAddStringF(pParam->szParam, sizeof(pParam->szParam), "MM%d", reg); 630 631 pParam->flags |= USE_REG_MMX; … … 633 634 634 635 case OP_PARM_S: //segment register 636 reg &= 7; /* REX.R has no effect here */ 635 637 disasmModRMSReg(pCpu, pOp, reg, pParam); 636 638 pParam->flags |= USE_REG_SEG; … … 638 640 639 641 case OP_PARM_T: //test register 642 reg &= 7; /* REX.R has no effect here */ 640 643 disasmAddStringF(pParam->szParam, sizeof(pParam->szParam), "TR%d", reg); 641 644 pParam->flags |= USE_REG_TEST; … … 643 646 return 0; 644 647 648 case OP_PARM_W: //XMM register or memory operand 649 if (mod != 3) 650 break; /* memory operand */ 651 /* else no break */ 645 652 case OP_PARM_V: //XMM register 646 653 disasmAddStringF(pParam->szParam, sizeof(pParam->szParam), "XMM%d", reg); … … 648 655 pParam->base.reg_xmm = reg; 649 656 return 0; 650 651 case OP_PARM_W: //XMM register or memory operand652 if (mod == 3)653 {654 disasmAddStringF(pParam->szParam, sizeof(pParam->szParam), "XMM%d", rm);655 pParam->flags |= USE_REG_XMM;656 pParam->base.reg_xmm = rm;657 return 0;658 }659 /* else memory operand */660 657 } 661 658 }
Note:
See TracChangeset
for help on using the changeset viewer.