⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 proc.h

📁 < 虚拟机设计与实现>>的 windows版本
💻 H
字号:
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+                                                                   +
+ proc.h - procedure meta data repository                         +
+                                                                   +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

#ifndef _PROC_H
#define _PROC_H

#include "win32.h"
#include "sframe.h"
#include "label.h"

struct Procedure
{
	U8 text;		/* index into StrTbl of where identifier begins */
	U8 address;		/* address of procedure */
	U4 line;		/* source code line containing declaration */

	struct StackFrame ret;
	U1 nRet;		/* 0 = void return, 1 = returns a value*/
	
	struct StackFrame *arg;
	U1 nArg;
	U1 iArg;
	
	struct StackFrame *local;
	U1 nLocal;
	U1 iLocal;
	
	struct Label *label;
	U2 nLabel;
	U2 iLabel;
};

#endif

⌨️ 快捷键说明

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