sync to [nisimura-pmax-wscons] version
(only change: include register definitions from regdef.h)
This commit is contained in:
parent
84cb65780e
commit
6ed35ee84b
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: asm.h,v 1.17 1999/02/16 05:06:26 jonathan Exp $ */
|
||||
/* $NetBSD: asm.h,v 1.18 1999/02/24 18:36:32 drochner Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -58,7 +58,41 @@
|
||||
#ifndef _MIPS_ASM_H
|
||||
#define _MIPS_ASM_H
|
||||
|
||||
#include <machine/regdef.h>
|
||||
/*
|
||||
* Symbolic register names
|
||||
*/
|
||||
#define zero $0 /* always zero */
|
||||
#define AT $at /* assembler temporary */
|
||||
#define v0 $2 /* return value */
|
||||
#define v1 $3
|
||||
#define a0 $4 /* argument registers */
|
||||
#define a1 $5
|
||||
#define a2 $6
|
||||
#define a3 $7
|
||||
#define t0 $8 /* temp registers (not saved across subroutine calls) */
|
||||
#define t1 $9
|
||||
#define t2 $10
|
||||
#define t3 $11
|
||||
#define t4 $12
|
||||
#define t5 $13
|
||||
#define t6 $14
|
||||
#define t7 $15
|
||||
#define s0 $16 /* saved across subroutine calls (callee saved) */
|
||||
#define s1 $17
|
||||
#define s2 $18
|
||||
#define s3 $19
|
||||
#define s4 $20
|
||||
#define s5 $21
|
||||
#define s6 $22
|
||||
#define s7 $23
|
||||
#define t8 $24 /* two more temporary registers */
|
||||
#define t9 $25
|
||||
#define k0 $26 /* kernel temporary */
|
||||
#define k1 $27
|
||||
#define gp $28 /* global pointer */
|
||||
#define sp $29 /* stack pointer */
|
||||
#define s8 $30 /* one more callee saved */
|
||||
#define ra $31 /* return address */
|
||||
|
||||
/*
|
||||
* Define -pg profile entry code.
|
||||
|
Loading…
Reference in New Issue
Block a user