#ifndef __SH2_H__\r
#define __SH2_H__\r
\r
+// registers - matches structure order\r
+typedef enum {\r
+ SHR_R0 = 0, SHR_SP = 15,\r
+ SHR_PC, SHR_PPC, SHR_PR, SHR_SR,\r
+ SHR_GBR, SHR_VBR, SHR_MACH, SHR_MACL,\r
+} sh2_reg_e;\r
+\r
typedef struct\r
{\r
unsigned int r[16]; // 00\r