Line No. | Rev | Author | Line |
---|---|---|---|
1 | 32 | kaklik | /* |
2 | * Copyright (c) 1996-2004 MIPS Technologies, Inc. |
||
3 | * All rights reserved. |
||
4 | * |
||
5 | * Unpublished rights (if any) reserved under the copyright laws of the |
||
6 | * United States of America and other countries. |
||
7 | * |
||
8 | * This code is proprietary to MIPS Technologies, Inc. ("MIPS |
||
9 | * Technologies"). Any copying, reproducing, modifying or use of |
||
10 | * this code (in whole or in part) that is not expressly permitted |
||
11 | * in writing by MIPS Technologies or an authorized third party is |
||
12 | * strictly prohibited. At a minimum, this code is protected under |
||
13 | * unfair competition and copyright laws. Violations thereof may result |
||
14 | * in criminal penalties and fines. |
||
15 | * |
||
16 | * MIPS Technologies reserves the right to change this code to improve |
||
17 | * function, design or otherwise. MIPS Technologies does not assume any |
||
18 | * liability arising out of the application or use of this code, or of |
||
19 | * any error or omission in such code. Any warranties, whether express, |
||
20 | * statutory, implied or otherwise, including but not limited to the |
||
21 | * implied warranties of merchantability or fitness for a particular |
||
22 | * purpose, are excluded. Except as expressly provided in any written |
||
23 | * license agreement from MIPS Technologies or an authorized third party, |
||
24 | * the furnishing of this code does not give recipient any license to |
||
25 | * any intellectual property rights, including any patent rights, that |
||
26 | * cover this code. |
||
27 | * |
||
28 | * This code shall not be exported, reexported, transferred, or released, |
||
29 | * directly or indirectly, in violation of the law of any country or |
||
30 | * international law, regulation, treaty, Executive Order, statute, |
||
31 | * amendments or supplements thereto. Should a conflict arise regarding |
||
32 | * the export, reexport, transfer, or release of this code, the laws of |
||
33 | * the United States of America shall be the governing law. |
||
34 | * |
||
35 | * This code constitutes one or more of the following: commercial |
||
36 | * computer software, commercial computer software documentation or |
||
37 | * other commercial items. If the user of this code, or any related |
||
38 | * documentation of any kind, including related technical data or |
||
39 | * manuals, is an agency, department, or other entity of the United |
||
40 | * States government ("Government"), the use, duplication, reproduction, |
||
41 | * release, modification, disclosure, or transfer of this code, or |
||
42 | * any related documentation of any kind, is restricted in accordance |
||
43 | * with Federal Acquisition Regulation 12.212 for civilian agencies |
||
44 | * and Defense Federal Acquisition Regulation Supplement 227.7202 for |
||
45 | * military agencies. The use of this code by the Government is further |
||
46 | * restricted in accordance with the terms of the license agreement(s) |
||
47 | * and/or applicable contract terms and conditions covering this code |
||
48 | * from MIPS Technologies or an authorized third party. |
||
49 | * |
||
50 | * |
||
51 | */ |
||
52 | |||
53 | /* |
||
54 | * regdef.h : MIPS Rx000 symbolic register names for assembler |
||
55 | */ |
||
56 | |||
57 | |||
58 | #define zero $0 |
||
59 | |||
60 | #define AT $1 |
||
61 | |||
62 | #define v0 $2 |
||
63 | #define v1 $3 |
||
64 | |||
65 | #define a0 $4 |
||
66 | #define a1 $5 |
||
67 | #define a2 $6 |
||
68 | #define a3 $7 |
||
69 | |||
70 | #if #abi(n32) || #abi(n64) || #abi(64) || #abi(eabi) |
||
71 | #define a4 $8 |
||
72 | #define a5 $9 |
||
73 | #define a6 $10 |
||
74 | #define a7 $11 |
||
75 | #define t0 $12 |
||
76 | #define t1 $13 |
||
77 | #define t2 $14 |
||
78 | #define t3 $15 |
||
79 | #define ta0 $8 /* alias for $a4 */ |
||
80 | #define ta1 $9 /* alias for $a5 */ |
||
81 | #define ta2 $10 /* alias for $a6 */ |
||
82 | #define ta3 $11 /* alias for $a7 */ |
||
83 | #else |
||
84 | #define t0 $8 |
||
85 | #define t1 $9 |
||
86 | #define t2 $10 |
||
87 | #define t3 $11 |
||
88 | #define t4 $12 |
||
89 | #define t5 $13 |
||
90 | #define t6 $14 |
||
91 | #define t7 $15 |
||
92 | #define ta0 $12 /* alias for $t4 */ |
||
93 | #define ta1 $13 /* alias for $t5 */ |
||
94 | #define ta2 $14 /* alias for $t6 */ |
||
95 | #define ta3 $15 /* alias for $t7 */ |
||
96 | #endif |
||
97 | |||
98 | #define s0 $16 |
||
99 | #define s1 $17 |
||
100 | #define s2 $18 |
||
101 | #define s3 $19 |
||
102 | #define s4 $20 |
||
103 | #define s5 $21 |
||
104 | #define s6 $22 |
||
105 | #define s7 $23 |
||
106 | #define s8 $30 /* == fp */ |
||
107 | |||
108 | #define t8 $24 |
||
109 | #define t9 $25 |
||
110 | #define k0 $26 |
||
111 | #define k1 $27 |
||
112 | |||
113 | #define gp $28 |
||
114 | |||
115 | #define sp $29 |
||
116 | #define fp $30 |
||
117 | #define ra $31 |
Powered by WebSVN v2.8.3