1 /* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
3 Contributed by Ralf Baechle <ralf@gnu.org>.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public License as
7 published by the Free Software Foundation; either version 2 of the
8 License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public
16 License along with the GNU C Library; see the file COPYING.LIB. If not,
17 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. */
24 * Symbolic register names for 32 bit ABI
26 #define zero $0 /* wired zero */
27 #define AT $1 /* assembler temp - uppercase because of ".set at" */
28 #define v0 $2 /* return value */
30 #define a0 $4 /* argument registers */
34 #define t0 $8 /* caller saved */
42 #define s0 $16 /* callee saved */
50 #define t8 $24 /* caller saved */
52 #define jp $25 /* PIC jump register */
53 #define k0 $26 /* kernel scratch */
55 #define gp $28 /* global pointer */
56 #define sp $29 /* stack pointer */
57 #define fp $30 /* frame pointer */
58 #define s8 $30 /* same like fp! */
59 #define ra $31 /* return address */
61 #endif /* _SYS_REGDEF_H */