proc.h

来自「DM64+系列 interpreter 程序」· C头文件 代码 · 共 30 行

H
30
字号
/*
 *  Copyright 2002 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *  
 */

#ifndef _PROC_H
#define _PROC_H
#include "header.h"

#define MAX_REG_SET 26

typedef struct{
	/*
		Declare the resources
		Named as A, B, C, D,...,Y, Z
	*/
	int reg[MAX_REG_SET];
} global_t;


extern global_t global;

#define REG(i) global.reg[i]

#endif

⌨️ 快捷键说明

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