ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mon/src/mon_disass.h
Revision: 1.5
Committed: 2002-09-07T12:48:15Z (21 years, 8 months ago) by gbeauche
Content type: text/plain
Branch: MAIN
Changes since 1.4: +1 -1 lines
Log Message:
Add support for x86-64 disassembly
- mon.cpp (mon_init): new command is "d8664"
- mon_cmd.cpp (disassemble): handle CPU_x86_64, and make it 64-bit aware in
  address dumps
- mon_disass.cpp (disass_x86): s/bool i8086/uint32 bits/ defining the x86
  architecture "size", aka 16 => 8086, 32 => 80x86, 64 => x86-64
- Merge with GNU x86 disassembler as part of binutils 2.12.90.0.15

File Contents

# User Rev Content
1 cebix 1.1 /*
2     * mon_disass.h - Disassemblers
3     *
4 cebix 1.4 * cxmon (C) 1997-2002 Christian Bauer, Marc Hellwig
5 cebix 1.1 *
6     * This program is free software; you can redistribute it and/or modify
7     * it under the terms of the GNU General Public License as published by
8     * the Free Software Foundation; either version 2 of the License, or
9     * (at your option) any later version.
10     *
11     * This program is distributed in the hope that it will be useful,
12     * but WITHOUT ANY WARRANTY; without even the implied warranty of
13     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14     * GNU General Public License for more details.
15     *
16     * You should have received a copy of the GNU General Public License
17     * along with this program; if not, write to the Free Software
18     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19     */
20    
21     #ifndef MON_DISASS_H
22     #define MON_DISASS_H
23    
24     extern void disass_ppc(FILE *f, unsigned int adr, unsigned int w);
25     extern int disass_68k(FILE *f, uint32 adr);
26 gbeauche 1.5 extern int disass_x86(FILE *f, uint32 adr, uint32 bits = 32);
27 cebix 1.1 extern int disass_6502(FILE *f, uint32 adr, uint8 op, uint8 lo, uint8 hi);
28 cebix 1.3 extern int disass_z80(FILE *f, uint32 adr);
29 cebix 1.1
30     #endif