25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: cpu_m68k.c,v 1.10 2006/06/16 18:31:25 debug Exp $ |
* $Id: cpu_m68k.c,v 1.12 2006/07/20 21:52:59 debug Exp $ |
29 |
* |
* |
30 |
* Motorola 68K CPU emulation. |
* Motorola 68K CPU emulation. |
31 |
*/ |
*/ |
64 |
if (strcasecmp(cpu_type_name, "68020") != 0) |
if (strcasecmp(cpu_type_name, "68020") != 0) |
65 |
return 0; |
return 0; |
66 |
|
|
67 |
|
cpu->run_instr = m68k_run_instr; |
68 |
cpu->memory_rw = m68k_memory_rw; |
cpu->memory_rw = m68k_memory_rw; |
69 |
cpu->update_translation_table = m68k_update_translation_table; |
cpu->update_translation_table = m68k_update_translation_table; |
70 |
cpu->invalidate_translation_caches = |
cpu->invalidate_translation_caches = |
124 |
symbol = get_symbol_name(&cpu->machine->symbol_context, |
symbol = get_symbol_name(&cpu->machine->symbol_context, |
125 |
cpu->pc, &offset); |
cpu->pc, &offset); |
126 |
|
|
127 |
debug("cpu%i: pc = 0x%08x", x, (int)cpu->pc); |
debug("cpu%i: pc = 0x%08"PRIx32, x, (uint32_t)cpu->pc); |
128 |
debug(" <%s>\n", symbol != NULL? symbol : " no symbol "); |
debug(" <%s>\n", symbol != NULL? symbol : " no symbol "); |
129 |
} |
} |
130 |
} |
} |