1 package org.xwt.mips;
2 interface Registers {
3
4 public final static int ZERO = 0;
5 public final static int AT = 1;
6 public final static int K0 = 26;
7 public final static int K1 = 27;
8 public final static int GP = 28;
9 public final static int SP = 29;
10 public final static int FP = 30;
11 public final static int RA = 31;
12
13
14 public final static int V0 = 2;
15 public final static int V1 = 3;
16
17 public final static int A0 = 4;
18 public final static int A1 = 5;
19 public final static int A2 = 6;
20 public final static int A3 = 7;
21
22 public final static int T0 = 8;
23 public final static int T1 = 9;
24 public final static int T2 = 10;
25 public final static int T3 = 11;
26 public final static int T4 = 12;
27 public final static int T5 = 13;
28 public final static int T6 = 14;
29 public final static int T7 = 15;
30 public final static int T8 = 24;
31 public final static int T9 = 25;
32
33 public final static int S0 = 16;
34 public final static int S1 = 17;
35 public final static int S2 = 18;
36 public final static int S3 = 19;
37 public final static int S4 = 20;
38 public final static int S5 = 21;
39 public final static int S6 = 22;
40 public final static int S7 = 23;
41 }
42