3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
7 * Copyright (C) 1985 MIPS Computer Systems, Inc.
8 * Copyright (C) 1990 - 1992, 1999 Silicon Graphics, Inc.
9 * Copyright (C) 1999 Ralf Baechle
14 #define zero $0 /* wired zero */
15 #define AT $at /* assembler temp - uppercase because of ".set at" */
16 #define v0 $2 /* return value - caller saved */
18 #define a0 $4 /* argument registers */
22 #define a4 $8 /* arg reg 64 bit; caller saved in 32 bit */
30 #define t0 $12 /* caller saved */
34 #define s0 $16 /* callee saved */
42 #define t8 $24 /* caller saved */
43 #define t9 $25 /* callee address for PIC/temp */
44 #define jp $25 /* PIC jump register */
45 #define k0 $26 /* kernel temporary */
47 #define gp $28 /* global pointer - caller saved for PIC */
48 #define sp $29 /* stack pointer */
49 #define fp $30 /* frame pointer */
50 #define s8 $30 /* callee saved */
51 #define ra $31 /* return address */
53 #endif /* _ASM_REGDEF_H */