Ignore:
Timestamp:
Aug 16, 2007, 7:55:02 PM (17 years ago)
Author:
dai_9181
Message:

Binaryクラスを追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler32/x86CodeGenerator.cpp

    r282 r287  
    8282        }
    8383
    84         pNativeCode->Put( disp, scheduleType );
     84        pNativeCode->PutEx( disp, scheduleType );
    8585    }
    8686
     
    139139            pPertialSchedule = pertialSchedules.back();
    140140        }
    141         pNativeCode->Put( offset, offsetScheduleType );
     141        pNativeCode->PutEx( offset, offsetScheduleType );
    142142
    143143        pNativeCode->Put( (char)value );
     
    154154            pPertialSchedule = pertialSchedules.back();
    155155        }
    156         pNativeCode->Put( offset, offsetScheduleType );
     156        pNativeCode->PutEx( offset, offsetScheduleType );
    157157
    158158        pNativeCode->Put( (short)value );
     
    168168            pPertialSchedule = pertialSchedules.back();
    169169        }
    170         pNativeCode->Put( offset, offsetScheduleType );
    171 
    172         pNativeCode->Put( value, valueScheduleType );
     170        pNativeCode->PutEx( offset, offsetScheduleType );
     171
     172        pNativeCode->PutEx( value, valueScheduleType );
    173173    }
    174174
     
    182182
    183183    //DISP32
    184     pNativeCode->Put( offset, scheduleType );
     184    pNativeCode->PutEx( offset, scheduleType );
    185185}
    186186void CodeGenerator::op_mov_RR(int reg1,int reg2){
     
    245245            pPertialSchedule = pertialSchedules.back();
    246246        }
    247         pNativeCode->Put( offset, scheduleType );
     247        pNativeCode->PutEx( offset, scheduleType );
    248248    }
    249249    else{
     
    312312            pPertialSchedule = pertialSchedules.back();
    313313        }
    314         pNativeCode->Put( offset, scheduleType );
     314        pNativeCode->PutEx( offset, scheduleType );
    315315    }
    316316    else{
     
    468468        pPertialSchedule = pertialSchedules.back();
    469469    }
    470     pNativeCode->Put( offset, scheduleType );
     470    pNativeCode->PutEx( offset, scheduleType );
    471471
    472472    return pPertialSchedule;
     
    777777        //push 32ビット値
    778778        pNativeCode->Put( (char)0x68 );
    779         pNativeCode->Put( data, scheduleType );
     779        pNativeCode->PutEx( data, scheduleType );
    780780    }
    781781}
     
    10021002        pPertialSchedule = pertialSchedules.back();
    10031003    }
    1004     pNativeCode->Put( offset, scheduleType );
     1004    pNativeCode->PutEx( offset, scheduleType );
    10051005
    10061006    return pPertialSchedule;
     
    10391039            pPertialSchedule = pertialSchedules.back();
    10401040        }
    1041         pNativeCode->Put( offset, scheduleType );
     1041        pNativeCode->PutEx( offset, scheduleType );
    10421042    }
    10431043    else{
     
    10991099        pPertialSchedule = pertialSchedules.back();
    11001100    }
    1101     pNativeCode->Put( offset, scheduleType );
     1101    pNativeCode->PutEx( offset, scheduleType );
    11021102
    11031103    return pPertialSchedule;
     
    11361136            pPertialSchedule = pertialSchedules.back();
    11371137        }
    1138         pNativeCode->Put( offset, scheduleType );
     1138        pNativeCode->PutEx( offset, scheduleType );
    11391139    }
    11401140    else{
Note: See TracChangeset for help on using the changeset viewer.