Correct handling of SEG <nonsegment>; per BR 560575
[nasm.git] / disasm.h
blob16cdbda087d51333b8a272313f8f92c884126947
1 /* disasm.h header file for disasm.c
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 */
9 #ifndef NASM_DISASM_H
10 #define NASM_DISASM_H
12 #define INSN_MAX 32 /* one instruction can't be longer than this */
14 long disasm (unsigned char *data, char *output, int segsize, long offset,
15 int autosync, unsigned long prefer);
16 long eatbyte (unsigned char *data, char *output);
18 #endif