VirtualBox

Changeset 9762 in vbox


Ignore:
Timestamp:
Jun 17, 2008 1:17:33 PM (17 years ago)
Author:
vboxsync
Message:

32 bits displacement in 64 bits mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Disassembler/DisasmReg.cpp

    r9761 r9762  
    548548        if (pParam->flags & USE_DISPLACEMENT32)
    549549        {
    550             Assert(pCpu->mode == CPUMODE_32BIT);
    551             pParamVal->val.val32 += pParam->disp32;
     550            if (pCpu->mode == CPUMODE_32BIT)
     551                pParamVal->val.val32 += pParam->disp32;
     552            else
     553                pParamVal->val.val64 += pParam->disp32;
    552554        }
    553555        else
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