Changeset 36 in dev for BasicCompiler64/Compile_Var.cpp
- Timestamp:
- Jan 20, 2007, 4:55:26 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler64/Compile_Var.cpp
r34 r36 864 864 else if(type==DEF_INTEGER||type==DEF_WORD) 865 865 *(WORD *)(initGlobalBuf+offset)=(WORD)i64data; 866 else if(type==DEF_CHAR||type==DEF_BYTE )866 else if(type==DEF_CHAR||type==DEF_BYTE||type==DEF_BOOLEAN) 867 867 *(BYTE *)(initGlobalBuf+offset)=(BYTE)i64data; 868 868 … … 1034 1034 obp+=sizeof(long)+sizeof(short); 1035 1035 } 1036 else if(type==DEF_CHAR||type==DEF_BYTE ){1036 else if(type==DEF_CHAR||type==DEF_BYTE||type==DEF_BOOLEAN){ 1037 1037 //mov byte ptr[rsp+offset],value 1038 1038 op_mov_MV(sizeof(char),REG_RSP,offset,USE_OFFSET,(int)i64data);
Note:
See TracChangeset
for help on using the changeset viewer.