Last change
on this file since 193 was 2, checked in by Rick van der Zwet, 15 years ago |
Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)
|
File size:
1.0 KB
|
Rev | Line | |
---|
[2] | 1 | /*
|
---|
| 2 | * File: globals.h
|
---|
| 3 | * Author: rick
|
---|
| 4 | *
|
---|
| 5 | * Created on November 19, 2008, 1:29 AM
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | #ifndef _GLOBALS_H
|
---|
| 9 | #define _GLOBALS_H
|
---|
| 10 |
|
---|
| 11 | /* prefix used for user declared identifiers to prevent name clashes with mips
|
---|
| 12 | * assembly
|
---|
| 13 | */
|
---|
| 14 | #define SYMBOL_PREFIX "__"
|
---|
| 15 |
|
---|
| 16 | /* The name of the register used, not all yet defined */
|
---|
| 17 | typedef enum __mregistername {
|
---|
| 18 | R_ZERO = 0,
|
---|
| 19 | R_AT = 1,
|
---|
| 20 | R_V0 = 2,
|
---|
| 21 | R_V1 = 3,
|
---|
| 22 | R_A0 = 4,
|
---|
| 23 | R_A1 = 5,
|
---|
| 24 | R_A2 = 6,
|
---|
| 25 | R_A3 = 7,
|
---|
| 26 | R_T0 = 8,
|
---|
| 27 | R_T1 = 9,
|
---|
| 28 | R_T2 = 10,
|
---|
| 29 | R_T3 = 11,
|
---|
| 30 | R_T4 = 12,
|
---|
| 31 | R_T5 = 13,
|
---|
| 32 | R_T6 = 14,
|
---|
| 33 | R_T7 = 15,
|
---|
| 34 | R_S0 = 16,
|
---|
| 35 | R_S1 = 17,
|
---|
| 36 | R_S2 = 18,
|
---|
| 37 | R_S3 = 19,
|
---|
| 38 | R_S4 = 20,
|
---|
| 39 | R_S5 = 21,
|
---|
| 40 | R_S6 = 22,
|
---|
| 41 | R_S7 = 23,
|
---|
| 42 | R_T8 = 24,
|
---|
| 43 | R_T9 = 25,
|
---|
| 44 | R_K0 = 26,
|
---|
| 45 | R_K1 = 27,
|
---|
| 46 | R_GP = 28,
|
---|
| 47 | R_SP = 29,
|
---|
| 48 | R_FP = 30,
|
---|
| 49 | R_RA = 31,
|
---|
| 50 | R_F0 = 32,
|
---|
| 51 | R_F1,
|
---|
| 52 | R_F2,
|
---|
| 53 | R_F3,
|
---|
| 54 | R_F4,
|
---|
| 55 | R_F5,
|
---|
| 56 | R_F6,
|
---|
| 57 | R_F7,
|
---|
| 58 | R_F8,
|
---|
| 59 | R_F9,
|
---|
| 60 | R_F10,
|
---|
| 61 | R_F11,
|
---|
| 62 | R_F12,
|
---|
| 63 | R_F13,
|
---|
| 64 | R_F14,
|
---|
| 65 | R_F15,
|
---|
| 66 | R_F16,
|
---|
| 67 | R_F17,
|
---|
| 68 | R_F18,
|
---|
| 69 | R_F19,
|
---|
| 70 | R_F20,
|
---|
| 71 | R_F21,
|
---|
| 72 | R_F22,
|
---|
| 73 | R_F23,
|
---|
| 74 | R_F24,
|
---|
| 75 | R_F25,
|
---|
| 76 | R_F26,
|
---|
| 77 | R_F27,
|
---|
| 78 | R_F28,
|
---|
| 79 | R_F29,
|
---|
| 80 | R_F30,
|
---|
| 81 | R_F31
|
---|
| 82 | } MRegisterType;
|
---|
| 83 |
|
---|
| 84 |
|
---|
| 85 | #endif /* _GLOBALS_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.