mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-21 09:19:31 +08:00
a69ce1d19d
The disassembler code gets cleaner if we do *not* separate out the conditional instructions; instead, rely on the fact that the conditionals are always at the end and use FIRST_COND_OPCODE as a barrier.
35 lines
677 B
C
35 lines
677 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 * nasm_stdmac_after_tasm;
|
|
|
|
/* --- 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 */
|