Added Dev-Cpp Makefile
[nasm/sigaren-mirror.git] / labels.h
blob7a2271060c9c6f505ecfe4f19174ad1624ac6516
1 /* labels.h header file for labels.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 extern int8_t lprefix[PREFIX_MAX];
10 extern int8_t lpostfix[PREFIX_MAX];
12 int lookup_label(int8_t *label, int32_t *segment, int32_t *offset);
13 int is_extern(int8_t *label);
14 void define_label(int8_t *label, int32_t segment, int32_t offset, int8_t *special,
15 int is_norm, int isextrn, struct ofmt *ofmt,
16 efunc error);
17 void redefine_label(int8_t *label, int32_t segment, int32_t offset, int8_t *special,
18 int is_norm, int isextrn, struct ofmt *ofmt,
19 efunc error);
20 void define_common(int8_t *label, int32_t segment, int32_t size, int8_t *special,
21 struct ofmt *ofmt, efunc error);
22 void declare_as_global(int8_t *label, int8_t *special, efunc error);
23 int init_labels(void);
24 void cleanup_labels(void);