]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/m32r-gx/arch.h
1 /* Simulator header for m32r.
3 This file is machine generated with CGEN.
5 Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
7 This file is part of the GNU Simulators.
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License along
20 with this program; if not, write to the Free Software Foundation, Inc.,
21 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
30 #define TARGET_BIG_ENDIAN 1
32 /* Shorthand macro for fetching registers. */
33 #define CPU(x) (CPU_CGEN_HW (current_cpu)->x)
35 typedef enum model_type
{
36 MODEL_M32R_D
, MODEL_TEST
40 #define MAX_MODELS ((int) MODEL_MAX)
42 /* Enum declaration for unit types. */
43 typedef enum unit_type
{
44 UNIT_NONE
, UNIT_M32R_D_U_STORE
, UNIT_M32R_D_U_LOAD
, UNIT_M32R_D_U_EXEC
51 #endif /* M32R_ARCH_H */