mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
7e50d232ba
It gets less ugly if we make the macros table "unsigned char".
36 lines
746 B
C
36 lines
746 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 unsigned char nasm_stdmac[];
|
|
extern const unsigned char * const nasm_stdmac_after_tasm;
|
|
const unsigned char *nasm_stdmac_find_package(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 */
|