Ignore:
Timestamp:
Jul 22, 2007, 9:13:57 PM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

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

    r225 r227  
    445445
    446446        //xor eax,eax
    447         OpBuffer[obp++]=(char)0x33;
    448         OpBuffer[obp++]=(char)0xC0;
     447        compiler.codeGenerator.op_xor_RR(REG_EAX);
    449448
    450449        //mov ax,word ptr[ebx]
     
    458457
    459458        //xor eax,eax
    460         OpBuffer[obp++]=(char)0x33;
    461         OpBuffer[obp++]=(char)0xC0;
     459        compiler.codeGenerator.op_xor_RR(REG_EAX);
    462460
    463461        //mov al,byte ptr[ebx]
Note: See TracChangeset for help on using the changeset viewer.