25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: cpu_sh_instr.c,v 1.5 2006/02/09 22:40:27 debug Exp $ |
* $Id: cpu_sh_instr.c,v 1.7 2006/02/24 01:20:36 debug Exp $ |
29 |
* |
* |
30 |
* SH instructions. |
* SH instructions. |
31 |
* |
* |
80 |
uint32_t iword; |
uint32_t iword; |
81 |
unsigned char *page; |
unsigned char *page; |
82 |
unsigned char ib[4]; |
unsigned char ib[4]; |
|
#ifdef DYNTRANS_BACKEND |
|
|
int simple = 0; |
|
|
#endif |
|
83 |
int main_opcode, instr_size = 4; |
int main_opcode, instr_size = 4; |
84 |
/* void (*samepage_function)(struct cpu *, struct sh_instr_call *);*/ |
/* void (*samepage_function)(struct cpu *, struct sh_instr_call *);*/ |
85 |
|
|
135 |
|
|
136 |
main_opcode = iword >> 26; |
main_opcode = iword >> 26; |
137 |
|
|
138 |
|
#if 0 |
139 |
switch (main_opcode) { |
switch (main_opcode) { |
140 |
|
|
141 |
default:goto bad; |
default:goto bad; |
142 |
} |
} |
143 |
|
#endif |
144 |
|
|
145 |
#define DYNTRANS_TO_BE_TRANSLATED_TAIL |
#define DYNTRANS_TO_BE_TRANSLATED_TAIL |
146 |
#include "cpu_dyntrans.c" |
#include "cpu_dyntrans.c" |