annotate udis86-1.4/libudis86/syn.c @ 1:4a9dcbd9e54f

-files of 0.13 beta -fixes so that it now compiles with the current dmd version
author marton@basel.hu
date Tue, 05 Apr 2011 20:44:01 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
1 /* -----------------------------------------------------------------------------
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
2 * syn.c
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
3 *
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
4 * Copyright (c) 2002, 2003, 2004 Vivek Mohan <vivek@sig9.com>
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
5 * All rights reserved. See (LICENSE)
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
6 * -----------------------------------------------------------------------------
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
7 */
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
8
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
9 /* -----------------------------------------------------------------------------
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
10 * Intel Register Table - Order Matters (types.h)!
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
11 * -----------------------------------------------------------------------------
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
12 */
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
13 const char* ud_reg_tab[] =
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
14 {
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
15 "al", "cl", "dl", "bl",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
16 "ah", "ch", "dh", "bh",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
17 "spl", "bpl", "sil", "dil",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
18 "r8b", "r9b", "r10b", "r11b",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
19 "r12b", "r13b", "r14b", "r15b",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
20
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
21 "ax", "cx", "dx", "bx",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
22 "sp", "bp", "si", "di",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
23 "r8w", "r9w", "r10w", "r11w",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
24 "r12w", "r13W" , "r14w", "r15w",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
25
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
26 "eax", "ecx", "edx", "ebx",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
27 "esp", "ebp", "esi", "edi",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
28 "r8d", "r9d", "r10d", "r11d",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
29 "r12d", "r13d", "r14d", "r15d",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
30
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
31 "rax", "rcx", "rdx", "rbx",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
32 "rsp", "rbp", "rsi", "rdi",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
33 "r8", "r9", "r10", "r11",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
34 "r12", "r13", "r14", "r15",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
35
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
36 "es", "cs", "ss", "ds",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
37 "fs", "gs",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
38
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
39 "cr0", "cr1", "cr2", "cr3",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
40 "cr4", "cr5", "cr6", "cr7",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
41 "cr8", "cr9", "cr10", "cr11",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
42 "cr12", "cr13", "cr14", "cr15",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
43
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
44 "dr0", "dr1", "dr2", "dr3",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
45 "dr4", "dr5", "dr6", "dr7",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
46 "dr8", "dr9", "dr10", "dr11",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
47 "dr12", "dr13", "dr14", "dr15",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
48
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
49 "mm0", "mm1", "mm2", "mm3",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
50 "mm4", "mm5", "mm6", "mm7",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
51
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
52 "st0", "st1", "st2", "st3",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
53 "st4", "st5", "st6", "st7",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
54
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
55 "xmm0", "xmm1", "xmm2", "xmm3",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
56 "xmm4", "xmm5", "xmm6", "xmm7",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
57 "xmm8", "xmm9", "xmm10", "xmm11",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
58 "xmm12", "xmm13", "xmm14", "xmm15",
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
59
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
60 "rip"
4a9dcbd9e54f -files of 0.13 beta
marton@basel.hu
parents:
diff changeset
61 };