nasm/disasm.h

19 lines
602 B
C
Raw Normal View History

2002-05-01 04:51:32 +08:00
/* 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
2005-01-16 06:15:51 +08:00
#define INSN_MAX 32 /* one instruction can't be longer than this */
2002-05-01 04:51:32 +08:00
2005-01-16 06:15:51 +08:00
long disasm(unsigned char *data, char *output, int outbufsize, int segsize,
long offset, int autosync, unsigned long prefer);
long eatbyte(unsigned char *data, char *output, int outbufsize);
2002-05-01 04:51:32 +08:00
#endif