bldfile.h

来自「< 虚拟机设计与实现> 的source code, linux版本」· C头文件 代码 · 共 37 行

H
37
字号
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+                                                                   +
+ bldfile   -	construct header and output file                    +
+               append bytecode from pass2 on to end                +
+                                                                   +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

#ifndef _BLDFILE_H
#define _BLDFILE_H

//#define PASS3_DEBUG		1

#ifdef	PASS3_DEBUG
#define	PASS3_DEBUG0(arg);						printf(arg);
#define PASS3_DEBUG1(arg1,arg2);				printf(arg1,arg2);
#define PASS3_DEBUG2(arg1,arg2,arg3);			printf(arg1,arg2,arg3);
#else
#define	PASS3_DEBUG0(arg);
#define PASS3_DEBUG1(arg1,arg2);
#define PASS3_DEBUG2(arg1,arg2,arg3);
#endif

/*byte sizes of records in debug DB*/

#define SIZE_GLOBREC	37
#define SIZE_PROCREC	25
#define SIZE_RETREC		16
#define SIZE_ARGREC		16
#define SIZE_LOCREC		16
#define SIZE_LBLREC		20

int BuildFile_init();
void BuildFile_free();
void buildFileFormat();

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?