source: rtems/c/src/lib/libbsp/i960/rxgen960/startup/i960.h @ 8ac4213

4.104.114.84.95
Last change on this file since 8ac4213 was 702c5f5, checked in by Joel Sherrill <joel.sherrill@…>, on 10/27/99 at 15:29:18

The rxgen960 BSP and i960 RPM support was submitted by Mark Bronson
<mark@…> of RAMIX.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*-------------------------------------*/
2/* i960.h                              */
3/* Last change :  3.11.94              */
4/*-------------------------------------*/
5#ifndef _I960_H_
6#define _I960_H_
7
8#define REGISTER_SIZE    4
9#define NUM_REGS        40
10
11#define R0_REGNUM   0   /* First local register */
12#define SP_REGNUM   1   /* Contains address of top of stack */
13#define RIP_REGNUM  2   /* Return instruction pointer (local r2) */
14#define R15_REGNUM 15   /* Last local register */
15#define G0_REGNUM  16   /* First global register */
16#define G13_REGNUM 29   /* g13 - holds struct return address */
17#define G14_REGNUM 30   /* g14 - ptr to arg block / leafproc return address */
18#define FP_REGNUM  31   /* Contains address of executing stack frame */
19#define PCW_REGNUM 32   /* process control word */
20#define ACW_REGNUM 33   /* arithmetic control word */
21#define TCW_REGNUM 34   /* trace control word */
22#define IP_REGNUM  35   /* instruction pointer */
23#define FP0_REGNUM 36   /* First floating point register */
24
25#define REGISTER_BYTES ((36*4) + (4*10))
26
27#endif
28/*-------------*/
29/* End of file */
30/*-------------*/
Note: See TracBrowser for help on using the repository browser.