print_insts.h

来自「一个用在mips体系结构中的操作系统」· C头文件 代码 · 共 40 行

H
40
字号
/* * Copyright (C) 1996-1998 by the Board of Trustees *    of Leland Stanford Junior University. *  * This file is part of the SimOS distribution.  * See LICENSE file for terms of the license.  * *//**************************************************************** * print_insts.h *  * $Author: bosch $ * $Date: 1998/02/10 00:31:53 $ *****************************************************************/#ifndef _PRINT_INSTS_H#define _PRINT_INSTS_Hextern void PrintInstsInit(void);extern int  PrintInstTclCmd(ClientData clientData, Tcl_Interp *interp,                             int argc, char *argv[]);extern void PrintInstruction(Inst, int);extern char printInstMask[SIM_MAXCPUS];extern int  printInstSkipMask;#ifdef PRINT_INSTRUCTIONS# define PRINT_INSTRUCTION(_i) \{if ((printInstMask[P->myNum]) \     && (!(STATS_VALUE(P->myNum, numInstructions) & printInstSkipMask))) { \    PrintInstruction(_i,P->myNum); }}#else     # define PRINT_INSTRUCTION(_i) {}#endif /* PRINT_INSTRUCTIONS */#endif /* _PRINT_INSTS_H */

⌨️ 快捷键说明

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