#include <stdio.h>
#include "assembler.h"
#include "constants-mips.h"
#include "serialize.h"
Go to the source code of this file.
|
| REGISTER (no_reg,-1) |
|
| REGISTER (zero_reg, 0) |
|
| REGISTER (at, 1) |
|
| REGISTER (v0, 2) |
|
| REGISTER (v1, 3) |
|
| REGISTER (a0, 4) |
|
| REGISTER (a1, 5) |
|
| REGISTER (a2, 6) |
|
| REGISTER (a3, 7) |
|
| REGISTER (t0, 8) |
|
| REGISTER (t1, 9) |
|
| REGISTER (t2, 10) |
|
| REGISTER (t3, 11) |
|
| REGISTER (t4, 12) |
|
| REGISTER (t5, 13) |
|
| REGISTER (t6, 14) |
|
| REGISTER (t7, 15) |
|
| REGISTER (s0, 16) |
|
| REGISTER (s1, 17) |
|
| REGISTER (s2, 18) |
|
| REGISTER (s3, 19) |
|
| REGISTER (s4, 20) |
|
| REGISTER (s5, 21) |
|
| REGISTER (s6, 22) |
|
| REGISTER (s7, 23) |
|
| REGISTER (t8, 24) |
|
| REGISTER (t9, 25) |
|
| REGISTER (k0, 26) |
|
| REGISTER (k1, 27) |
|
| REGISTER (gp, 28) |
|
| REGISTER (sp, 29) |
|
| REGISTER (fp, 30) |
|
| REGISTER (ra, 31) |
|
int | ToNumber (Register reg) |
|
Register | ToRegister (int num) |
|
|
const FPURegister | no_freg = { -1 } |
|
const FPURegister | f0 = { 0 } |
|
const FPURegister | f1 = { 1 } |
|
const FPURegister | f2 = { 2 } |
|
const FPURegister | f3 = { 3 } |
|
const FPURegister | f4 = { 4 } |
|
const FPURegister | f5 = { 5 } |
|
const FPURegister | f6 = { 6 } |
|
const FPURegister | f7 = { 7 } |
|
const FPURegister | f8 = { 8 } |
|
const FPURegister | f9 = { 9 } |
|
const FPURegister | f10 = { 10 } |
|
const FPURegister | f11 = { 11 } |
|
const FPURegister | f12 = { 12 } |
|
const FPURegister | f13 = { 13 } |
|
const FPURegister | f14 = { 14 } |
|
const FPURegister | f15 = { 15 } |
|
const FPURegister | f16 = { 16 } |
|
const FPURegister | f17 = { 17 } |
|
const FPURegister | f18 = { 18 } |
|
const FPURegister | f19 = { 19 } |
|
const FPURegister | f20 = { 20 } |
|
const FPURegister | f21 = { 21 } |
|
const FPURegister | f22 = { 22 } |
|
const FPURegister | f23 = { 23 } |
|
const FPURegister | f24 = { 24 } |
|
const FPURegister | f25 = { 25 } |
|
const FPURegister | f26 = { 26 } |
|
const FPURegister | f27 = { 27 } |
|
const FPURegister | f28 = { 28 } |
|
const FPURegister | f29 = { 29 } |
|
const FPURegister | f30 = { 30 } |
|
const FPURegister | f31 = { 31 } |
|
const FPUControlRegister | no_fpucreg = { kInvalidFPUControlRegister } |
|
const FPUControlRegister | FCSR = { kFCSRRegister } |
|
#define REGISTER |
( |
|
N, |
|
|
|
C |
|
) |
| |