vbox的更動 41741 路徑 trunk/src/VBox/Disassembler/DisasmReg.cpp
- 時間撮記:
- 2012-6-15 上午01:50:13 (12 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Disassembler/DisasmReg.cpp
r41740 r41741 688 688 { 689 689 pParamVal->size = sizeof(uint16_t); 690 pParamVal->val.val16 = (uint8_t)pParam-> parval;690 pParamVal->val.val16 = (uint8_t)pParam->uValue; 691 691 } 692 692 else 693 693 { 694 694 pParamVal->size = sizeof(uint8_t); 695 pParamVal->val.val8 = (uint8_t)pParam-> parval;695 pParamVal->val.val8 = (uint8_t)pParam->uValue; 696 696 } 697 697 } … … 701 701 pParamVal->flags |= DISQPV_FLAG_16; 702 702 pParamVal->size = sizeof(uint16_t); 703 pParamVal->val.val16 = (uint16_t)pParam-> parval;703 pParamVal->val.val16 = (uint16_t)pParam->uValue; 704 704 AssertMsg(pParamVal->size == pParam->cb || ((pParam->cb == 1) && (pParam->fUse & DISUSE_IMMEDIATE16_SX8)), ("pParamVal->size %d vs %d EIP=%RX32\n", pParamVal->size, pParam->cb, pCtx->eip) ); 705 705 } … … 709 709 pParamVal->flags |= DISQPV_FLAG_32; 710 710 pParamVal->size = sizeof(uint32_t); 711 pParamVal->val.val32 = (uint32_t)pParam-> parval;711 pParamVal->val.val32 = (uint32_t)pParam->uValue; 712 712 Assert(pParamVal->size == pParam->cb || ((pParam->cb == 1) && (pParam->fUse & DISUSE_IMMEDIATE32_SX8)) ); 713 713 } … … 717 717 pParamVal->flags |= DISQPV_FLAG_64; 718 718 pParamVal->size = sizeof(uint64_t); 719 pParamVal->val.val64 = pParam-> parval;719 pParamVal->val.val64 = pParam->uValue; 720 720 Assert(pParamVal->size == pParam->cb || ((pParam->cb == 1) && (pParam->fUse & DISUSE_IMMEDIATE64_SX8)) ); 721 721 } … … 725 725 pParamVal->flags |= DISQPV_FLAG_FARPTR16; 726 726 pParamVal->size = sizeof(uint16_t)*2; 727 pParamVal->val.farptr.sel = (uint16_t)RT_LOWORD(pParam-> parval>> 16);728 pParamVal->val.farptr.offset = (uint32_t)RT_LOWORD(pParam-> parval);727 pParamVal->val.farptr.sel = (uint16_t)RT_LOWORD(pParam->uValue >> 16); 728 pParamVal->val.farptr.offset = (uint32_t)RT_LOWORD(pParam->uValue); 729 729 Assert(pParamVal->size == pParam->cb); 730 730 } … … 734 734 pParamVal->flags |= DISQPV_FLAG_FARPTR32; 735 735 pParamVal->size = sizeof(uint16_t) + sizeof(uint32_t); 736 pParamVal->val.farptr.sel = (uint16_t)RT_LOWORD(pParam-> parval>> 32);737 pParamVal->val.farptr.offset = (uint32_t)(pParam-> parval& 0xFFFFFFFF);736 pParamVal->val.farptr.sel = (uint16_t)RT_LOWORD(pParam->uValue >> 32); 737 pParamVal->val.farptr.offset = (uint32_t)(pParam->uValue & 0xFFFFFFFF); 738 738 Assert(pParam->cb == 8); 739 739 }
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器