summaryrefslogtreecommitdiff
path: root/disasm.h
blob: 845fd2e4f7d10f9e1377f1152df6d338fc98f667 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* disasm.h   header file for disasm.c
 *
 * The Netwide Assembler is copyright (C) 1996 Simon Tatham and
 * Julian Hall. All rights reserved. The software is
 * redistributable under the licence given in the file "Licence"
 * distributed in the NASM archive.
 */

#ifndef NASM_DISASM_H
#define NASM_DISASM_H

#define INSN_MAX 32	/* one instruction can't be longer than this */

long disasm (unsigned char *data, char *output, int segsize, long offset,
	     int autosync);
long eatbyte (unsigned char *data, char *output);

#endif