VirtualBox

Changeset 8333 in vbox for trunk/include/VBox/dis.h


Ignore:
Timestamp:
Apr 23, 2008 2:42:17 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
30101
Message:

Disassembler updates for 64 bits support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/dis.h

    r8299 r8333  
    412412    OP_PARAMETER    param3;
    413413
    414     /** ModRM byte. */
    415     uint32_t        ModRM;
    416     /** scalar, index, base byte. */
    417     uint32_t        SIB;
     414    /** ModRM fields. */
     415    union
     416    {
     417        /* Bitfield view */
     418        struct
     419        {
     420            unsigned        Rm  : 4;
     421            unsigned        Reg : 4;
     422            unsigned        Mod : 2;
     423        } Bits;
     424        /* unsigned view */
     425        unsigned            u;
     426    } ModRM;
     427
     428    /** SIB fields. */
     429    union
     430    {
     431        /* Bitfield view */
     432        struct
     433        {
     434            unsigned        Base  : 4;
     435            unsigned        Index : 4;
     436            unsigned        Scale : 2;
     437        } Bits;
     438        /* unsigned view */
     439        unsigned            u;
     440    } SIB;
    418441
    419442    int32_t         disp;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette