Add Linux "hello world" example
[nasm.git] / assemble.h
blobb08ceb139605eeb46274e2d5f454014710c047a1
1 /* assemble.h header file for assemble.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 licence given in the file "Licence"
6 * distributed in the NASM archive.
7 */
9 #ifndef NASM_ASSEMBLE_H
10 #define NASM_ASSEMBLE_H
12 long insn_size (long segment, long offset, int bits, unsigned long cpu,
13 insn *instruction, efunc error);
14 long assemble (long segment, long offset, int bits, unsigned long cpu,
15 insn *instruction, struct ofmt *output, efunc error,
16 ListGen *listgen);
18 #endif