nkeynes@30: /** nkeynes@561: * $Id$ nkeynes@30: * nkeynes@30: * SH4 CPU definition and disassembly function declarations nkeynes@30: * nkeynes@30: * Copyright (c) 2005 Nathan Keynes. nkeynes@30: * nkeynes@30: * This program is free software; you can redistribute it and/or modify nkeynes@30: * it under the terms of the GNU General Public License as published by nkeynes@30: * the Free Software Foundation; either version 2 of the License, or nkeynes@30: * (at your option) any later version. nkeynes@30: * nkeynes@30: * This program is distributed in the hope that it will be useful, nkeynes@30: * but WITHOUT ANY WARRANTY; without even the implied warranty of nkeynes@30: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the nkeynes@30: * GNU General Public License for more details. nkeynes@30: */ nkeynes@30: nkeynes@736: #ifndef lxdream_sh4dasm_H nkeynes@736: #define lxdream_sh4dasm_H 1 nkeynes@1: nkeynes@30: #include "cpu.h" nkeynes@9: nkeynes@1: #ifdef __cplusplus nkeynes@1: extern "C" { nkeynes@1: #endif nkeynes@1: nkeynes@1: #include nkeynes@1: nkeynes@11: uint32_t sh4_disasm_instruction( uint32_t pc, char *buf, int len, char * ); nkeynes@569: void sh4_disasm_region( FILE *f, int from, int to ); nkeynes@1300: const char *sh4_disasm_get_symbol( sh4addr_t addr ); nkeynes@9: nkeynes@1: #ifdef __cplusplus nkeynes@1: } nkeynes@1: #endif nkeynes@1: nkeynes@736: #endif /* !lxdream_sh4dasm_H */