MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / include / asm-alpha / regdef.h
blob142df9c4f8b85e85e10515af777c5ed1271a33ed
1 #ifndef __alpha_regdef_h__
2 #define __alpha_regdef_h__
4 #define v0 $0 /* function return value */
6 #define t0 $1 /* temporary registers (caller-saved) */
7 #define t1 $2
8 #define t2 $3
9 #define t3 $4
10 #define t4 $5
11 #define t5 $6
12 #define t6 $7
13 #define t7 $8
15 #define s0 $9 /* saved-registers (callee-saved registers) */
16 #define s1 $10
17 #define s2 $11
18 #define s3 $12
19 #define s4 $13
20 #define s5 $14
21 #define s6 $15
22 #define fp s6 /* frame-pointer (s6 in frame-less procedures) */
24 #define a0 $16 /* argument registers (caller-saved) */
25 #define a1 $17
26 #define a2 $18
27 #define a3 $19
28 #define a4 $20
29 #define a5 $21
31 #define t8 $22 /* more temps (caller-saved) */
32 #define t9 $23
33 #define t10 $24
34 #define t11 $25
35 #define ra $26 /* return address register */
36 #define t12 $27
38 #define pv t12 /* procedure-variable register */
39 #define AT $at /* assembler temporary */
40 #define gp $29 /* global pointer */
41 #define sp $30 /* stack pointer */
42 #define zero $31 /* reads as zero, writes are noops */
44 #endif /* __alpha_regdef_h__ */