fileheader.h

来自「这个也是我们的毕业设计课题」· C头文件 代码 · 共 36 行

H
36
字号
#include"DFY\type.h"
//.DFYexe file header

typedef struct tagDFYexeFileHeader{
	WORD wFileVersion;//the version number of DFYexe file
	WORD wFileSize;//the body file size of DFYexe file ,not include the 
	//header file's size
	WORD wCodeSegSize;//the code segment size
	WORD wDataSegSize;//the data segment size
	WORD wDS;//the initial value of DS register,in version 1.0 
			//this value must be 0
	WORD wES;//the initial value of ES register,in version 1.0
			//this value must be 0
	WORD wSP;//the initial value of SP register,you must specify the 
			//value;
	WORD wReserved;
} DFYexeFileHeader;
//.Pdf file header
typedef struct tagPdfFileHeader{
	WORD wFileVersion;
	WORD wRecordNumber;
} PdfFileHeader;
//.Pdf file body
typedef struct tagPdfFileBody{
	char* strVariableName;//variable name
	UNSHORT uAddr;//the variable first address
} PdfFileBody;
typedef struct tagMapFileHeader{
	WORD wFileVersion;
	WORD wRecordNum;
} MapFileHeader;
typedef struct tagMapFileBody{
	BOOL bIsCode;//if the line is a code line ,this value is TRUE
	UNSHORT uAddr;
} MapFileBody;

⌨️ 快捷键说明

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