搜索资源列表
crt0
- 用C语言编写ARM程序时,执行的第一条指令,并不在main函数中。当我们生成一个C程序的可执行文件时,编译器总是在我们的代码前加一段固定的代码——crt0.o,它是编译器自带的一个文件。此段代码设置C程序的堆栈等,然后调用main函数。很可惜,在我们的裸板上,这段代码无法执行,所以我们得自己写一个。这段代码很简单,只有3条指令。-Using C language ARM program, the implementation of the first instruction is not in
code_analyze
- c++编写,解析指定目录下的.c/.h文件,能够获取c文件的基本元素,如宏定义,头文件包含,函数声明,函数定义,函数调用等,并实现了简单依赖关系查找-c++ write, parse .c/.h files in the specified directory, have access to the basic elements of the c file, such as macro definitions, header file contains function declarations
COMPAILER
- 用C++写的由扩充C0文法写成的编译为MIPS汇编的编译器,在MARS4.2上完美测试通过,支持递归、函数定义、函数调用、数组、四则运算、输入输出等,是我本科花了2个月写的大作业,也留给北航的学弟学妹参考。-Written by C++ grammar written by the expansion of C0 compiler for MIPS assembler compiler tested on MARS4.2 perfect support recursive function de