Commit | Line | Data |
---|---|---|
32eeb91a AS |
1 | /* Common target dependent code for the Motorola 68000 series. |
2 | Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000, 2001 | |
3 | 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 2 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, write to the Free Software | |
19 | Foundation, Inc., 59 Temple Place - Suite 330, | |
20 | Boston, MA 02111-1307, USA. */ | |
21 | ||
22 | #ifndef M68K_TDEP_H | |
23 | #define M68K_TDEP_H | |
24 | ||
25 | /* Register numbers of various important registers. | |
26 | Note that some of these values are "real" register numbers, | |
27 | and correspond to the general registers of the machine, | |
28 | and some are "phony" register numbers which are too large | |
29 | to be actual register numbers as far as the user is concerned | |
30 | but do serve to get the desired values when passed to read_register. */ | |
31 | ||
32 | enum | |
33 | { | |
34 | M68K_D0_REGNUM = 0, | |
35 | M68K_A0_REGNUM = 8, | |
36 | M68K_A1_REGNUM = 9, | |
37 | M68K_FP_REGNUM = 14, /* Contains address of executing stack frame */ | |
38 | M68K_SP_REGNUM = 15, /* Contains address of top of stack */ | |
39 | M68K_PS_REGNUM = 16, /* Contains processor status */ | |
40 | M68K_PC_REGNUM = 17, /* Contains program counter */ | |
41 | M68K_FP0_REGNUM = 18, /* Floating point register 0 */ | |
42 | M68K_FPC_REGNUM = 26, /* 68881 control register */ | |
43 | M68K_FPS_REGNUM = 27, /* 68881 status register */ | |
44 | M68K_FPI_REGNUM = 28 | |
45 | }; | |
46 | ||
47 | #endif /* M68K_TDEP_H */ |