Add missing disassembler patch for moxie.
[deliverable/binutils-gdb.git] / sim / iq2000 / cpu.c
CommitLineData
edece237
CV
1/* Misc. support for CPU family iq2000bf.
2
3THIS FILE IS MACHINE GENERATED WITH CGEN.
4
5Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
6
7This file is part of the GNU simulators.
8
9This program is free software; you can redistribute it and/or modify
10it under the terms of the GNU General Public License as published by
4744ac1b
JB
11the Free Software Foundation; either version 3 of the License, or
12(at your option) any later version.
edece237
CV
13
14This program is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17GNU General Public License for more details.
18
4744ac1b
JB
19You should have received a copy of the GNU General Public License
20along with this program. If not, see <http://www.gnu.org/licenses/>.
edece237
CV
21
22*/
23
24#define WANT_CPU iq2000bf
25#define WANT_CPU_IQ2000BF
26
27#include "sim-main.h"
28#include "cgen-ops.h"
29
30/* Get the value of h-pc. */
31
32USI
33iq2000bf_h_pc_get (SIM_CPU *current_cpu)
34{
35 return GET_H_PC ();
36}
37
38/* Set a value for h-pc. */
39
40void
41iq2000bf_h_pc_set (SIM_CPU *current_cpu, USI newval)
42{
43 SET_H_PC (newval);
44}
45
46/* Get the value of h-gr. */
47
48SI
49iq2000bf_h_gr_get (SIM_CPU *current_cpu, UINT regno)
50{
51 return GET_H_GR (regno);
52}
53
54/* Set a value for h-gr. */
55
56void
57iq2000bf_h_gr_set (SIM_CPU *current_cpu, UINT regno, SI newval)
58{
59 SET_H_GR (regno, newval);
60}
61
62/* Record trace results for INSN. */
63
64void
65iq2000bf_record_trace_results (SIM_CPU *current_cpu, CGEN_INSN *insn,
66 int *indices, TRACE_RECORD *tr)
67{
68}
This page took 0.159558 seconds and 4 git commands to generate.