ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mon/src/mon_cmd.h
Revision: 1.7
Committed: 2002-09-07T12:48:15Z (21 years, 8 months ago) by gbeauche
Content type: text/plain
Branch: MAIN
Changes since 1.6: +1 -0 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

# Content
1 /*
2 * mon_cmd.h - cxmon standard commands
3 *
4 * cxmon (C) 1997-2002 Christian Bauer, Marc Hellwig
5 *
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_CMD_H
22 #define MON_CMD_H
23
24 extern void version(void);
25 extern void redir_output(void);
26 extern void print_expr(void);
27 extern void shell_command(void);
28 extern void memory_dump(void);
29 extern void ascii_dump(void);
30 extern void binary_dump(void);
31 extern void disassemble_ppc(void);
32 extern void disassemble_6502(void);
33 extern void disassemble_680x0(void);
34 extern void disassemble_z80(void);
35 extern void disassemble_80x86_32(void);
36 extern void disassemble_80x86_16(void);
37 extern void disassemble_x86_64(void);
38 extern void modify(void);
39 extern void fill(void);
40 extern void transfer(void);
41 extern void compare(void);
42 extern void hunt(void);
43 extern void load_data(void);
44 extern void save_data(void);
45
46 #endif