- compare disk size with the size calculated from geometry to avoid image
[bochs-mirror.git] / disasm / dis_tables.h
blobda2e397d3ec936265fc21d33ea2e675715588786
1 /////////////////////////////////////////////////////////////////////////
2 // $Id: dis_tables.h,v 1.31 2007/08/31 18:09:34 sshwarts Exp $
3 /////////////////////////////////////////////////////////////////////////
5 #ifndef _BX_DISASM_TABLES_
6 #define _BX_DISASM_TABLES_
8 // opcode table attributes
9 #define _GROUPN 1
10 #define _SPLIT11B 2
11 #define _GRPFP 3
12 #define _GRP3DNOW 4
13 #define _GRPSSE 5
14 #define _GRPRM 6
15 #define _GRP3BOP 7
16 #define _GRP3BTAB 8
17 #define _GRP64B 9
19 /* ************************************************************************ */
20 #define GRPSSE(n) _GRPSSE, BxDisasmGroupSSE_##n
21 #define GRPN(n) _GROUPN, BxDisasmGroup##n
22 #define GRPRM(n) _GRPRM, BxDisasmGroupRm##n
23 #define GRPMOD(n) _SPLIT11B, BxDisasmGroupMod##n
24 #define GRPFP(n) _GRPFP, BxDisasmFPGroup##n
25 #define GRP3DNOW _GRP3DNOW, BxDisasm3DNowGroup
26 #define GR3BOP(n) _GRP3BOP, BxDisasm3ByteOp##n
27 #define GR3BTAB(n) _GRP3BTAB, BxDisasm3ByteTable##n
28 #define GR64BIT(n) _GRP64B, BxDisasmGrpOs64B_##n
29 /* ************************************************************************ */
31 #define Apw &disassembler::Apw
32 #define Apd &disassembler::Apd
34 #define AL &disassembler::AL
35 #define CL &disassembler::CL
36 #define AX &disassembler::AX
37 #define DX &disassembler::DX
39 #define EAX &disassembler::EAX
40 #define RAX &disassembler::RAX
42 #define CS &disassembler::CS
43 #define DS &disassembler::DS
44 #define ES &disassembler::ES
45 #define SS &disassembler::SS
46 #define FS &disassembler::FS
47 #define GS &disassembler::GS
49 #define Sw &disassembler::Sw
51 #define Td &disassembler::Td
53 #define Cd &disassembler::Cd
54 #define Cq &disassembler::Cq
56 #define Dd &disassembler::Dd
57 #define Dq &disassembler::Dq
59 #define R8 &disassembler::R8
60 #define RX &disassembler::RX
61 #define ERX &disassembler::ERX
62 #define RRX &disassembler::RRX
64 #define Eb &disassembler::Eb
65 #define Ew &disassembler::Ew
66 #define Ed &disassembler::Ed
67 #define Eq &disassembler::Eq
69 #define Gb &disassembler::Gb
70 #define Gw &disassembler::Gw
71 #define Gd &disassembler::Gd
72 #define Gq &disassembler::Gq
74 #define Hbd &disassembler::Hbd
75 #define Hwd &disassembler::Hwd
76 #define Hd &disassembler::Hd
77 #define Hq &disassembler::Hq
79 #define I1 &disassembler::I1
80 #define Ib &disassembler::Ib
81 #define Iw &disassembler::Iw
82 #define Id &disassembler::Id
83 #define Iq &disassembler::Iq
85 #define IwIb &disassembler::IwIb
87 #define sIbw &disassembler::sIbw
88 #define sIbd &disassembler::sIbd
89 #define sIbq &disassembler::sIbq
90 #define sIdq &disassembler::sIdq
92 #define ST0 &disassembler::ST0
93 #define STi &disassembler::STi
95 #define Rw &disassembler::Rw
96 #define Rd &disassembler::Rd
97 #define Rq &disassembler::Rq
99 #define Pq &disassembler::Pq
100 #define Qd &disassembler::Qd
101 #define Qq &disassembler::Qq
102 #define Nq &disassembler::Nq
104 #define Vq &disassembler::Vq
105 #define Vdq &disassembler::Vdq
106 #define Vss &disassembler::Vss
107 #define Vsd &disassembler::Vsd
108 #define Vps &disassembler::Vps
109 #define Vpd &disassembler::Vpd
110 #define Udq &disassembler::Udq
112 #define Ww &disassembler::Ww
113 #define Wd &disassembler::Wd
114 #define Wq &disassembler::Wq
115 #define Wdq &disassembler::Wdq
116 #define Wss &disassembler::Wss
117 #define Wsd &disassembler::Wsd
118 #define Wps &disassembler::Wps
119 #define Wpd &disassembler::Wpd
121 #define Ob &disassembler::Ob
122 #define Ow &disassembler::Ow
123 #define Od &disassembler::Od
124 #define Oq &disassembler::Oq
126 #define Ma &disassembler::Ma
127 #define Mp &disassembler::Mp
128 #define Ms &disassembler::Ms
129 #define Mx &disassembler::Mx
130 #define Mb &disassembler::Mb
131 #define Mw &disassembler::Mw
132 #define Md &disassembler::Md
133 #define Mq &disassembler::Mq
134 #define Mt &disassembler::Mt
135 #define Mdq &disassembler::Mdq
136 #define Mps &disassembler::Mps
137 #define Mpd &disassembler::Mpd
138 #define Mss &disassembler::Mss
139 #define Msd &disassembler::Msd
141 #define Xb &disassembler::Xb
142 #define Xw &disassembler::Xw
143 #define Xd &disassembler::Xd
144 #define Xq &disassembler::Xq
146 #define Yb &disassembler::Yb
147 #define Yw &disassembler::Yw
148 #define Yd &disassembler::Yd
149 #define Yq &disassembler::Yq
151 #define Jb &disassembler::Jb
152 #define Jw &disassembler::Jw
153 #define Jd &disassembler::Jd
155 #define XX 0
157 const struct BxDisasmOpcodeInfo_t
158 #include "opcodes.inc"
159 #include "dis_tables.inc"
161 #undef XX
163 #endif