2002-05-01 04:51:32 +08:00
|
|
|
/* 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
|
2007-12-29 22:44:23 +08:00
|
|
|
* redistributable under the license given in the file "LICENSE"
|
2002-05-01 04:51:32 +08:00
|
|
|
* distributed in the NASM archive.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef NASM_ASSEMBLE_H
|
|
|
|
#define NASM_ASSEMBLE_H
|
|
|
|
|
2007-11-07 10:27:23 +08:00
|
|
|
int64_t insn_size(int32_t segment, int64_t offset, int bits, uint32_t cp,
|
2005-01-16 06:15:51 +08:00
|
|
|
insn * instruction, efunc error);
|
2007-11-07 10:27:23 +08:00
|
|
|
int64_t assemble(int32_t segment, int64_t offset, int bits, uint32_t cp,
|
2005-01-16 06:15:51 +08:00
|
|
|
insn * instruction, struct ofmt *output, efunc error,
|
|
|
|
ListGen * listgen);
|
2002-05-01 04:51:32 +08:00
|
|
|
|
|
|
|
#endif
|