1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef __MIPS_H__ #define __MIPS_H__ #include "mipsdis.h" void decode(TDis * d, Uint32 pc); enum registers { Rzr, Rat, Rv0, Rv1, Ra0, Ra1, Ra2, Ra3, Rt0, Rt1, Rt2, Rt3, Rt4, Rt5, Rt6, Rt7, Rs0, Rs1, Rs2, Rs3, Rs4, Rs5, Rs6, Rs7, Rt8, Rt9, Rk0, Rk1, Rgp, Rsp, Rfp, Rra, }; extern char * registers[]; extern char * CP0registers[]; #endif