blob: 845fd2e4f7d10f9e1377f1152df6d338fc98f667 [file] [log] [blame]
H. Peter Anvinea6e34d2002-04-30 20:51:32 +00001/* disasm.h header file for disasm.c
2 *
3 * The Netwide Assembler is copyright (C) 1996 Simon Tatham and
4 * Julian Hall. All rights reserved. The software is
5 * redistributable under the licence given in the file "Licence"
6 * distributed in the NASM archive.
7 */
8
9#ifndef NASM_DISASM_H
10#define NASM_DISASM_H
11
12#define INSN_MAX 32 /* one instruction can't be longer than this */
13
14long disasm (unsigned char *data, char *output, int segsize, long offset,
15 int autosync);
16long eatbyte (unsigned char *data, char *output);
17
18#endif