MacroCCompiler

所属分类:编译器/解释器
开发工具:Visual C++
文件大小:884KB
下载次数:29
上传日期:2008-06-19 13:49:47
上 传 者1151233
说明:  一个小型的c语言编译器,做的非常好,不过不是我做的.
(A small c language compiler, to do very well, but I did not do.)

文件列表:
bin\DEBUG.TXT (128026, 2002-07-01)
bin\DPMILOAD.EXE (22212, 2002-07-01)
bin\DPMIMEM.DLL (24932, 2002-07-01)
bin\IO.OBJ (403, 2002-07-01)
bin\TASM.EXE (129266, 2002-07-01)
bin\TLINK.EXE (150569, 2002-07-01)
bin\TRY.EXE (1432, 2002-07-01)
bin\TRY.MAP (238, 2002-07-01)
bin\TRY.OBJ (952, 2002-07-01)
bin\cc.bat (93, 2002-07-01)
bin\mc.exe (106496, 2002-07-01)
bin\mc.h (972, 2002-07-01)
bin\try.asm (6146, 2002-07-01)
bin\try.c (111, 2002-07-01)
bin (0, 2002-07-01)
doc\Report1.doc (140800, 2004-11-15)
doc\Micro C.ppt (218112, 2004-11-15)
doc (0, 2002-07-01)
sample\ADD.EXE (1512, 2002-07-01)
sample\FIBO.EXE (1528, 2002-07-01)
sample\HANOI.EXE (1656, 2002-07-01)
sample\HELLO.EXE (1400, 2002-07-01)
sample\Hello.c (64, 2002-07-01)
sample\add.asm (6385, 2002-07-01)
sample\add.c (214, 2002-07-01)
sample\do_while.asm (556, 2002-07-01)
sample\fibo.asm (6912, 2002-07-01)
sample\fibo.c (229, 2002-07-01)
sample\for.asm (844, 2002-07-01)
sample\hanoi.asm (7594, 2002-07-01)
sample\hanoi.c (431, 2002-07-01)
sample\hello.asm (5900, 2002-07-01)
sample\sum.c (114, 2002-07-01)
sample\while.asm (563, 2002-07-01)
sample (0, 2002-07-01)
src\Common.h (315, 2002-07-01)
src\Debug (0, 2002-07-01)
src\Debug.h (160, 2002-07-01)
src\Debug.txt (117573, 2008-06-19)
src\Error.c (513, 2002-07-01)
... ...

/* * Readme.txt for MicroC Compiler * * Copyright (c) 2001 by Ren Qi and Lin Ying * All Rights Reserved. * */ NAME_LEN ---> 32 in common.h KEYENTRY{ name --> 32 } * in common condition return int 0 means ok, other means error note this factor : that /* ........ /* */ ........... */ soulation main() function 不能由语法判定合理的存在,SO in gen(..) 中进行语义处理. data type Ingore double float long unsigned --> int char array add compound statement , then add static link to stack support only one demision array at first , we ingore "static" specifier in function definition support sizeof(x), sizeof (1), etc if use { int f[10]; x = f + 1; // you can compiler, but can't get correct asm code } left args push stack first, heihei, sorry

近期下载者

相关文件


收藏者