Changeset 244 in dev for trunk/abdev/BasicCompiler32/x86CodeGenerator.cpp
- Timestamp:
- Jul 27, 2007, 12:14:00 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/x86CodeGenerator.cpp
r240 r244 1183 1183 1184 1184 pNativeCode->Put( (char)0xE8 ); 1185 pobj_SubAddrSchedule->add(pUserProc,1); 1186 pNativeCode->Put( (long)0 ); 1185 pNativeCode->PutUserProcSchedule( pUserProc, true ); 1187 1186 } 1188 1187 void CodeGenerator::op_ret(){ … … 1194 1193 pNativeCode->Put( stackFrameSize ); 1195 1194 } 1195 void CodeGenerator::op_addressof( int reg, const UserProc *pUserProc ) 1196 { 1197 //mov reg,userProcAddress 1198 1199 //オペコード、レジスタ 1200 pNativeCode->Put( (char)(0xB8|REGISTER_OPERAND(reg)) ); 1201 1202 //DISP32 1203 pNativeCode->PutUserProcSchedule( pUserProc, false ); 1204 }
Note:
See TracChangeset
for help on using the changeset viewer.