Handle the new ELF headers in the dependency generation
[nasm.git] / disasm.h
blob6467730a09d41722d7ab5af7cc3f6d3cd636a9ae
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 license given in the file "LICENSE"
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 int32_t disasm(uint8_t *data, char *output, int outbufsize, int segsize,
15 int32_t offset, int autosync, uint32_t prefer);
16 int32_t eatbyte(uint8_t *data, char *output, int outbufsize, int segsize);
18 #endif