1 /* names.c included source file defining instruction and register
2 * names for the Netwide [Dis]Assembler
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.
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"
20 static char *conditions
[] = { /* condition code names */
21 "a", "ae", "b", "be", "c", "e", "g", "ge", "l", "le", "na", "nae",
22 "nb", "nbe", "nc", "ne", "ng", "nge", "nl", "nle", "no", "np",
23 "ns", "nz", "o", "p", "pe", "po", "s", "z"
26 /* Instruction names automatically generated from insns.dat */