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

📄 cpu.c

📁 gdb-6.0 linux 下的调试工具
💻 C
字号:
/* Misc. support for CPU family i960base.THIS FILE IS MACHINE GENERATED WITH CGEN.Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.This file is part of the GNU Simulators.This program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.You should have received a copy of the GNU General Public License alongwith this program; if not, write to the Free Software Foundation, Inc.,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.*/#define WANT_CPU i960base#define WANT_CPU_I960BASE#include "sim-main.h"#include "cgen-ops.h"/* Get the value of h-pc.  */USIi960base_h_pc_get (SIM_CPU *current_cpu){  return CPU (h_pc);}/* Set a value for h-pc.  */voidi960base_h_pc_set (SIM_CPU *current_cpu, USI newval){  CPU (h_pc) = newval;}/* Get the value of h-gr.  */SIi960base_h_gr_get (SIM_CPU *current_cpu, UINT regno){  return CPU (h_gr[regno]);}/* Set a value for h-gr.  */voidi960base_h_gr_set (SIM_CPU *current_cpu, UINT regno, SI newval){  CPU (h_gr[regno]) = newval;}/* Get the value of h-cc.  */SIi960base_h_cc_get (SIM_CPU *current_cpu){  return CPU (h_cc);}/* Set a value for h-cc.  */voidi960base_h_cc_set (SIM_CPU *current_cpu, SI newval){  CPU (h_cc) = newval;}/* Record trace results for INSN.  */voidi960base_record_trace_results (SIM_CPU *current_cpu, CGEN_INSN *insn,			    int *indices, TRACE_RECORD *tr){}

⌨️ 快捷键说明

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