BR 2592476: Treat WAIT as a prefix even though it's really an instruction
[nasm/avx512.git] / eval.h
blob24b9dfc99ed39d1fa649e1a9acc23178e88debc7
1 /* eval.h header file for eval.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_EVAL_H
10 #define NASM_EVAL_H
13 * Called once to tell the evaluator what output format is
14 * providing segment-base details, and what function can be used to
15 * look labels up.
17 void eval_global_info(struct ofmt *output, lfunc lookup_label,
18 struct location * locp);
21 * The evaluator itself.
23 expr *evaluate(scanner sc, void *scprivate, struct tokenval *tv,
24 int *fwref, int critical, efunc report_error,
25 struct eval_hints *hints);
27 void eval_cleanup(void);
29 #endif