4.104.114.84.95
Last change
on this file since 1fc35374 was
2ea8df3,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/27/99 at 16:27:34
|
Added CVS Ids and a basic header. More header cleanup needed.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | /*-------------------------------------*/ |
---|
2 | /* i960.h */ |
---|
3 | /* Last change : 3.11.94 */ |
---|
4 | /*-------------------------------------*/ |
---|
5 | /* |
---|
6 | * $Id$ |
---|
7 | */ |
---|
8 | |
---|
9 | #ifndef _I960_H_ |
---|
10 | #define _I960_H_ |
---|
11 | |
---|
12 | #define REGISTER_SIZE 4 |
---|
13 | #define NUM_REGS 40 |
---|
14 | |
---|
15 | #define R0_REGNUM 0 /* First local register */ |
---|
16 | #define SP_REGNUM 1 /* Contains address of top of stack */ |
---|
17 | #define RIP_REGNUM 2 /* Return instruction pointer (local r2) */ |
---|
18 | #define R15_REGNUM 15 /* Last local register */ |
---|
19 | #define G0_REGNUM 16 /* First global register */ |
---|
20 | #define G13_REGNUM 29 /* g13 - holds struct return address */ |
---|
21 | #define G14_REGNUM 30 /* g14 - ptr to arg block / leafproc return address */ |
---|
22 | #define FP_REGNUM 31 /* Contains address of executing stack frame */ |
---|
23 | #define PCW_REGNUM 32 /* process control word */ |
---|
24 | #define ACW_REGNUM 33 /* arithmetic control word */ |
---|
25 | #define TCW_REGNUM 34 /* trace control word */ |
---|
26 | #define IP_REGNUM 35 /* instruction pointer */ |
---|
27 | #define FP0_REGNUM 36 /* First floating point register */ |
---|
28 | |
---|
29 | #define REGISTER_BYTES ((36*4) + (4*10)) |
---|
30 | |
---|
31 | #endif |
---|
32 | /*-------------*/ |
---|
33 | /* End of file */ |
---|
34 | /*-------------*/ |
---|
Note: See
TracBrowser
for help on using the repository browser.