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

📄 parser.h

📁 Spim软件的一些源码。其中有Xspim的
💻 H
字号:
/* SPIM S20 MIPS simulator.   Interface to parser for instructions and assembler directives.   Copyright (C) 1990-2004 by James Larus (larus@cs.wisc.edu).   ALL RIGHTS RESERVED.   SPIM is distributed under the following conditions:     You may make copies of SPIM for your own use and modify those copies.     All copies of SPIM must retain my name and copyright notice.     You may not sell SPIM or distributed SPIM in conjunction with a     commerical product or service without the expressed written consent of     James Larus.   THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR   IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR   PURPOSE. *//* $Header: /Software/SPIM/src/parser.h 8     2/15/04 1:27p Larus $*//* Exported functions: */void fix_current_label_address (mem_addr new_addr);int imm_op_to_op (int opcode);void initialize_parser (char *file_name);int op_to_imm_op (int opcode);void yyerror (char *s);int yyparse ();/* Exported Variables: */extern int data_dir;		/* Non-zero means item in data segment */extern int text_dir;		/* Non-zero means item in text segment */extern int parse_error_occurred;  /* Non-zero => parse resulted in error */

⌨️ 快捷键说明

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