diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-04-30 20:51:32 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-04-30 20:51:32 +0000 |
commit | ea6e34db64c7da7cb885197316c6b5e7d048bdb9 (patch) | |
tree | 78e728348f8fe09e394a51c3617e6261de0f4001 /disasm.h | |
download | nasm-ea6e34db64c7da7cb885197316c6b5e7d048bdb9.tar.gz nasm-ea6e34db64c7da7cb885197316c6b5e7d048bdb9.tar.bz2 nasm-ea6e34db64c7da7cb885197316c6b5e7d048bdb9.zip |
NASM 0.91
Diffstat (limited to 'disasm.h')
-rw-r--r-- | disasm.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/disasm.h b/disasm.h new file mode 100644 index 0000000..845fd2e --- /dev/null +++ b/disasm.h @@ -0,0 +1,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 |