mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
d2456590fc
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.
36 lines
742 B
C
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 */
|