VirtualBox

Ignore:
Timestamp:
Jun 12, 2012 8:27:37 PM (13 years ago)
Author:
vboxsync
Message:

DIS: The start of the scoping exercise... Fixed PREFIX_ADDRSIZE that I just busted in the previous commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Disassembler/testcase/tstDisasm-2.cpp

    r41671 r41675  
    303303
    304304        case kAsmStyle_yasm:
    305             RTPrintf("    BITS %d\n", enmCpuMode == CPUMODE_16BIT ? 16 : enmCpuMode == CPUMODE_32BIT ? 32 : 64);
     305            RTPrintf("    BITS %d\n", enmCpuMode == DISCPUMODE_16BIT ? 16 : enmCpuMode == DISCPUMODE_32BIT ? 32 : 64);
    306306            pfnFormatter = MyDisasYasmFormatter;
    307307            break;
     
    492492    UNDEFOPHANDLING enmUndefOp = kUndefOp_Fail;
    493493    bool fListing = true;
    494     DISCPUMODE enmCpuMode = CPUMODE_32BIT;
     494    DISCPUMODE enmCpuMode = DISCPUMODE_32BIT;
    495495    RTFOFF off = 0;
    496496    RTFOFF cbMax = _1G;
     
    532532            case 'c':
    533533                if (ValueUnion.u32 == 16)
    534                     enmCpuMode = CPUMODE_16BIT;
     534                    enmCpuMode = DISCPUMODE_16BIT;
    535535                else if (ValueUnion.u32 == 32)
    536                     enmCpuMode = CPUMODE_32BIT;
     536                    enmCpuMode = DISCPUMODE_32BIT;
    537537                else if (ValueUnion.u32 == 64)
    538                     enmCpuMode = CPUMODE_64BIT;
     538                    enmCpuMode = DISCPUMODE_64BIT;
    539539                else
    540540                {
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