pass2.h
来自「< 虚拟机设计与实现> 的source code, linux版本」· C头文件 代码 · 共 35 行
H
35 行
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ +
+ pass2 - build listing file and +
+ generate bytecode into temporary file +
+ +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#ifndef _PASS2_H
#define _PASS2_H
#include "lnscan.h"
#include "linux.h"
//#define PASS2_DEBUG 1
#ifdef PASS2_DEBUG
#define PASS2_DEBUG0(arg); printf(arg);
#define PASS2_DEBUG1(arg1,arg2); printf(arg1,arg2);
#define PASS2_DEBUG2(arg1,arg2,arg3); printf(arg1,arg2,arg3);
#else
#define PASS2_DEBUG0(arg);
#define PASS2_DEBUG1(arg1,arg2);
#define PASS2_DEBUG2(arg1,arg2,arg3);
#endif
U4 bytePosPass2; /*current index of bytecode being generated*/
int pass2_init();
void pass2_free();
void pass2_parseLine(struct Line *line);
void generateSymbolSummary();
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?