nkeynes@30: /** nkeynes@54: * $Id: sh4dasm.h,v 1.6 2006-01-01 08:08:40 nkeynes Exp $ 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@1: #ifndef sh4dasm_H nkeynes@1: #define 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@54: void sh4_disasm_region( const gchar *filename, int from, int to ); nkeynes@9: nkeynes@11: extern const struct cpu_desc_struct sh4_cpu_desc; nkeynes@9: nkeynes@1: #ifdef __cplusplus nkeynes@1: } nkeynes@1: #endif nkeynes@1: nkeynes@1: #endif