Changeset 252 in dev for trunk/abdev/BasicCompiler32
- Timestamp:
- Jul 30, 2007, 3:11:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/Compile_ProcOp.cpp
r251 r252 121 121 }; 122 122 123 memcpy(OpBuffer+obp,Buffer_allrem,178); 124 obp+=178; 123 compiler.codeGenerator.PutOld( NativeCode( (const char *)Buffer_allrem, 178 ) ); 125 124 } 126 125 else if( userProc.GetName() == "_aullrem" ){ … … 138 137 }; 139 138 140 memcpy(OpBuffer+obp,Buffer_aullrem,117); 141 obp+=117; 139 compiler.codeGenerator.PutOld( NativeCode( (const char *)Buffer_aullrem, 117 ) ); 142 140 } 143 141 else if( userProc.GetName() == "_allmul" ){ … … 147 145 }; 148 146 149 memcpy(OpBuffer+obp,Buffer_allmul,52); 150 obp+=52; 147 compiler.codeGenerator.PutOld( NativeCode( (const char *)Buffer_allmul, 52 ) ); 151 148 } 152 149 else if( userProc.GetName() == "_alldiv" ){ … … 156 153 }; 157 154 158 memcpy(OpBuffer+obp,Buffer_alldiv,170); 159 obp+=170; 155 compiler.codeGenerator.PutOld( NativeCode( (const char *)Buffer_alldiv, 170 ) ); 160 156 } 161 157 else if( userProc.GetName() == "_aulldiv" ){ … … 172 168 }; 173 169 174 memcpy(OpBuffer+obp,Buffer_aulldiv,104); 175 obp+=104; 170 compiler.codeGenerator.PutOld( NativeCode( (const char *)Buffer_aulldiv, 104 ) ); 176 171 } 177 172 else if( userProc.GetName() == "_allshl" ){ … … 181 176 }; 182 177 183 memcpy(OpBuffer+obp,Buffer_allshl,31); 184 obp+=31; 178 compiler.codeGenerator.PutOld( NativeCode( (const char *)Buffer_allshl, 31 ) ); 185 179 } 186 180 else if( userProc.GetName() == "_allshr" ){ … … 190 184 }; 191 185 192 memcpy(OpBuffer+obp,Buffer_allshr,33); 193 obp+=33; 186 compiler.codeGenerator.PutOld( NativeCode( (const char *)Buffer_allshr, 33 ) ); 194 187 } 195 188 else if( userProc.GetName() == "_aullshr" ){ … … 215 208 }; 216 209 217 memcpy(OpBuffer+obp,Buffer_aullshr,31); 218 obp+=31; 210 compiler.codeGenerator.PutOld( NativeCode( (const char *)Buffer_aullshr, 31 ) ); 219 211 } 220 212 else{
Note:
See TracChangeset
for help on using the changeset viewer.