NASM 0.98.22
[platform/upstream/nasm.git] / names.c
1 /* names.c   included source file defining instruction and register
2  *           names for the Netwide [Dis]Assembler
3  *
4  * The Netwide Assembler is copyright (C) 1996 Simon Tatham and
5  * Julian Hall. All rights reserved. The software is
6  * redistributable under the licence given in the file "Licence"
7  * distributed in the NASM archive.
8  */
9
10 static char *reg_names[] = {           /* register names, as strings */
11     "ah", "al", "ax", "bh", "bl", "bp", "bx", "ch", "cl",
12     "cr0", "cr2", "cr3", "cr4", "cs", "cx", "dh", "di", "dl", "dr0",
13     "dr1", "dr2", "dr3", "dr6", "dr7", "ds", "dx", "eax", "ebp",
14     "ebx", "ecx", "edi", "edx", "es", "esi", "esp", "fs", "gs",
15     "mm0", "mm1", "mm2", "mm3", "mm4", "mm5", "mm6", "mm7", "si",
16     "sp", "ss", "st0", "st1", "st2", "st3", "st4", "st5", "st6",
17     "st7", "tr3", "tr4", "tr5", "tr6", "tr7",
18     "xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6", "xmm7"
19 };
20
21 static char *conditions[] = {          /* condition code names */
22     "a", "ae", "b", "be", "c", "e", "g", "ge", "l", "le", "na", "nae",
23     "nb", "nbe", "nc", "ne", "ng", "nge", "nl", "nle", "no", "np",
24     "ns", "nz", "o", "p", "pe", "po", "s", "z"
25 };
26
27 /* Instruction names automatically generated from insns.dat */
28 #include "insnsn.c"