]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/m88k-tdep.h
2693d450c31fddce5a7f1248dab4a4c15ba7a0a6
[thirdparty/binutils-gdb.git] / gdb / m88k-tdep.h
1 /* Target-dependent code for the Motorola 88000 series.
2
3 Copyright (C) 2004-2017 Free Software Foundation, Inc.
4
5 This file is part of GDB.
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19
20 #ifndef M88K_TDEP_H
21 #define M88K_TDEP_H
22
23 /* Register numbers of various important registers. */
24
25 enum m88k_regnum
26 {
27 M88K_R0_REGNUM,
28 M88K_R1_REGNUM, /* Return address (hardware). */
29 M88K_R2_REGNUM,
30 M88K_R3_REGNUM,
31 M88K_R12_REGNUM = 12,
32 M88K_R30_REGNUM = 30, /* Frame pointer. */
33 M88K_R31_REGNUM, /* Stack pointer. */
34 M88K_EPSR_REGNUM,
35 M88K_FPSR_REGNUM,
36 M88K_FPCR_REGNUM,
37 M88K_SXIP_REGNUM,
38 M88K_SNIP_REGNUM,
39 M88K_SFIP_REGNUM,
40 M88K_NUM_REGS /* Number of machine registers. */
41
42 };
43
44 /* Instruction size. */
45 #define M88K_INSN_SIZE 4
46
47 #endif /* m88k-tdep.h */