*
* 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"
+ * redistributable under the license given in the file "LICENSE"
* 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 */
+#define INSN_MAX 32 /* one instruction can't be longer than this */
-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);
+int32_t disasm(uint8_t *data, char *output, int outbufsize, int segsize,
+ int32_t offset, int autosync, uint32_t prefer);
+int32_t eatbyte(uint8_t *data, char *output, int outbufsize);
#endif