filename | src/aica/armdasm.h |
changeset | 30:89b30313d757 |
prev | 12:7748fcf320b9 |
next | 561:533f6b478071 |
author | nkeynes |
date | Sun Dec 25 05:57:00 2005 +0000 (17 years ago) |
permissions | -rw-r--r-- |
last change | Change timeslice to nanoseconds (was microseconds) Generize single step (now steps through active CPU) Add lots of header blocks |
file | annotate | diff | log | raw |
nkeynes@30 | 1 | /** |
nkeynes@30 | 2 | * $Id: armdasm.h,v 1.2 2005-12-25 05:57:00 nkeynes Exp $ |
nkeynes@30 | 3 | * |
nkeynes@30 | 4 | * ARM CPU definition and disassembly function declarations |
nkeynes@30 | 5 | * |
nkeynes@30 | 6 | * Copyright (c) 2005 Nathan Keynes. |
nkeynes@30 | 7 | * |
nkeynes@30 | 8 | * This program is free software; you can redistribute it and/or modify |
nkeynes@30 | 9 | * it under the terms of the GNU General Public License as published by |
nkeynes@30 | 10 | * the Free Software Foundation; either version 2 of the License, or |
nkeynes@30 | 11 | * (at your option) any later version. |
nkeynes@30 | 12 | * |
nkeynes@30 | 13 | * This program is distributed in the hope that it will be useful, |
nkeynes@30 | 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
nkeynes@30 | 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
nkeynes@30 | 16 | * GNU General Public License for more details. |
nkeynes@30 | 17 | */ |
nkeynes@30 | 18 | |
nkeynes@12 | 19 | #ifndef armdasm_H |
nkeynes@12 | 20 | #define armdasm_H 1 |
nkeynes@12 | 21 | |
nkeynes@30 | 22 | #include "cpu.h" |
nkeynes@12 | 23 | |
nkeynes@12 | 24 | #ifdef __cplusplus |
nkeynes@12 | 25 | extern "C" { |
nkeynes@12 | 26 | #endif |
nkeynes@12 | 27 | |
nkeynes@12 | 28 | #include <stdio.h> |
nkeynes@12 | 29 | |
nkeynes@12 | 30 | uint32_t arm_disasm_instruction( uint32_t pc, char *buf, int len, char * ); |
nkeynes@12 | 31 | uint32_t armt_disasm_instruction( uint32_t pc, char *buf, int len, char * ); |
nkeynes@12 | 32 | extern const struct cpu_desc_struct arm_cpu_desc; |
nkeynes@12 | 33 | extern const struct cpu_desc_struct armt_cpu_desc; |
nkeynes@12 | 34 | |
nkeynes@12 | 35 | #ifdef __cplusplus |
nkeynes@12 | 36 | } |
nkeynes@12 | 37 | #endif |
nkeynes@12 | 38 | |
nkeynes@12 | 39 | #endif |
.