summaryrefslogtreecommitdiff
path: root/assemble.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-04-30 20:51:32 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-04-30 20:51:32 +0000
commitea6e34db64c7da7cb885197316c6b5e7d048bdb9 (patch)
tree78e728348f8fe09e394a51c3617e6261de0f4001 /assemble.h
downloadnasm-ea6e34db64c7da7cb885197316c6b5e7d048bdb9.tar.gz
nasm-ea6e34db64c7da7cb885197316c6b5e7d048bdb9.tar.bz2
nasm-ea6e34db64c7da7cb885197316c6b5e7d048bdb9.zip
NASM 0.91
Diffstat (limited to 'assemble.h')
-rw-r--r--assemble.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/assemble.h b/assemble.h
new file mode 100644
index 0000000..cb93a2c
--- /dev/null
+++ b/assemble.h
@@ -0,0 +1,17 @@
+/* assemble.h header file for assemble.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_ASSEMBLE_H
+#define NASM_ASSEMBLE_H
+
+long insn_size (long segment, long offset, int bits,
+ insn *instruction, efunc error);
+long assemble (long segment, long offset, int bits,
+ insn *instruction, struct ofmt *output, efunc error);
+
+#endif