Changeset 55 in dev for BasicCompiler32/increment.cpp
- Timestamp:
- Feb 13, 2007, 3:14:57 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/increment.cpp
r36 r55 80 80 } 81 81 void ExtendTypeTo32(int type,int reg){ 82 if(type==DEF_INTEGER ){82 if(type==DEF_INTEGER || (isUnicode&&type==DEF_CHAR)){ 83 83 //movsx reg32,reg16 84 84 op_movsx_R32R16(reg,reg); … … 88 88 op_and_RV(reg,(int)0x0000FFFF); 89 89 } 90 else if(type==DEF_ CHAR){90 else if(type==DEF_SBYTE || (isUnicode==false&&type==DEF_CHAR)){ 91 91 //movsx reg32,reg8 92 92 op_movsx_R32R8(reg,reg); … … 98 98 } 99 99 void ExtendTypeTo16(int type,int reg){ 100 if(type==DEF_ CHAR){100 if(type==DEF_SBYTE || (isUnicode==false&&type==DEF_CHAR)){ 101 101 //movsx reg16,reg8 102 102 op_movsx_R16R8(reg,reg);
Note:
See TracChangeset
for help on using the changeset viewer.