VirtualBox

Changeset 11504 in vbox for trunk/src


Ignore:
Timestamp:
Aug 20, 2008 7:11:08 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
35018
Message:

RIP related addressing fix.

File:
1 edited

Legend:

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

    r11111 r11504  
    643643        {
    644644            Assert(pCpu->mode == CPUMODE_64BIT);
    645             pParamVal->val.val64 += pParam->disp32 + pCtx->rip;
     645            /* Relative to the RIP of the next instruction. */
     646            pParamVal->val.val64 += pParam->disp32 + pCtx->rip + pCpu->opsize;
    646647        }
    647648        return VINF_SUCCESS;
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