VirtualBox

Changeset 66136 in vbox


Ignore:
Timestamp:
Mar 16, 2017 3:57:32 PM (8 years ago)
Author:
vboxsync
Message:

IEM: Implemented AAA.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h

    r66135 r66136  
    64856485        || uMaskedAl >= 10)
    64866486    {
    6487         pCtx->ax += 0x106;
    6488         pCtx->al &= 0xf;
     6487        pCtx->ax = (pCtx->ax + UINT16_C(0x106)) & UINT16_C(0xff0f);
    64896488        pCtx->eflags.Bits.u1AF = 1;
    64906489        pCtx->eflags.Bits.u1CF = 1;
     
    64926491    else
    64936492    {
     6493        pCtx->al = uMaskedAl;
    64946494        pCtx->eflags.Bits.u1AF = 0;
    64956495        pCtx->eflags.Bits.u1CF = 0;
    6496         pCtx->al = uMaskedAl;
    64976496    }
    64986497
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