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