BR 2413265: don't pessimize displacements
[nasm/nasm.git] / assemble.h
blob1e79be0ab9b1fdba6e95ed1f7c4c7307a9bd6e60
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 license given in the file "LICENSE"
6 * distributed in the NASM archive.
7 */
9 #ifndef NASM_ASSEMBLE_H
10 #define NASM_ASSEMBLE_H
12 int64_t insn_size(int32_t segment, int64_t offset, int bits, uint32_t cp,
13 insn * instruction, efunc error);
14 int64_t assemble(int32_t segment, int64_t offset, int bits, uint32_t cp,
15 insn * instruction, struct ofmt *output, efunc error,
16 ListGen * listgen);
18 #endif