nasm/tables.h
H. Peter Anvin d2456590fc preproc: add support for builtin include modules (%use)
Add a builtin equivalent to the %include directive called %use.
%use includes a standard macro file compiled into the binary; these
come from the macros/ directory in the source code.

The idea here is to be able to provide optional macro packages with
the distribution, without adding complex host filesystem dependencies.
2008-06-19 15:04:18 -07:00

36 lines
742 B
C

/*
* tables.h
*
* Declarations for auto-generated tables
*/
#ifndef TABLES_H
#define TABLES_H
#include "compiler.h"
#include <inttypes.h>
#include "insnsi.h" /* For enum opcode */
/* --- From standard.mac via macros.pl: --- */
/* macros.c */
extern const char * const nasm_stdmac[];
extern const char * const * const nasm_stdmac_after_tasm;
const char * const *nasm_stdmac_find_module(const char *);
/* --- From insns.dat via insns.pl: --- */
/* insnsn.c */
extern const char * const nasm_insn_names[];
/* --- From regs.dat via regs.pl: --- */
/* regs.c */
extern const char * const nasm_reg_names[];
/* regflags.c */
extern const int32_t nasm_reg_flags[];
/* regvals.c */
extern const int nasm_regvals[];
#endif /* TABLES_H */