📄 code.cpp
字号:
#include "globals.h"
#include "code.h"
/* P-Machine location number for current instruction emission */
int emitLoc = 0;
/* Highest TM location emitted so far
For use in conjunction with emitSkip,
emitBackup, and emitRestore */
//static int highEmitLoc = 0;
/* Procedure emitComment prints a comment line
* with comment c in the code file
*/
void emitComment(char *c)
{
if (TraceCode)
fprintf(code,"; %s\n",c);
}
void emitCode(char *s)
{
fprintf(code, "%s\n", s);
emitLoc++;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -