1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
|
/* automatically generated from ./regs.dat - do not edit */
#ifndef NASM_REGS_H
#define NASM_REGS_H
#define EXPR_REG_START 1
enum reg_enum {
R_zero = 0,
R_none = -1,
R_AH = EXPR_REG_START,
R_AL,
R_AX,
R_BH,
R_BL,
R_BP,
R_BPL,
R_BX,
R_CH,
R_CL,
R_CR0,
R_CR1,
R_CR10,
R_CR11,
R_CR12,
R_CR13,
R_CR14,
R_CR15,
R_CR2,
R_CR3,
R_CR4,
R_CR5,
R_CR6,
R_CR7,
R_CR8,
R_CR9,
R_CS,
R_CX,
R_DH,
R_DI,
R_DIL,
R_DL,
R_DR0,
R_DR1,
R_DR10,
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define REG_NUM_BP 5
#define REG_NUM_BPL 5
#define REG_NUM_BX 3
#define REG_NUM_CH 5
#define REG_NUM_CL 1
#define REG_NUM_CR0 0
#define REG_NUM_CR1 1
#define REG_NUM_CR10 10
#define REG_NUM_CR11 11
#define REG_NUM_CR12 12
#define REG_NUM_CR13 13
#define REG_NUM_CR14 14
#define REG_NUM_CR15 15
#define REG_NUM_CR2 2
#define REG_NUM_CR3 3
#define REG_NUM_CR4 4
#define REG_NUM_CR5 5
#define REG_NUM_CR6 6
#define REG_NUM_CR7 7
#define REG_NUM_CR8 8
#define REG_NUM_CR9 9
#define REG_NUM_CS 1
#define REG_NUM_CX 1
#define REG_NUM_DH 6
#define REG_NUM_DI 7
#define REG_NUM_DIL 7
#define REG_NUM_DL 2
#define REG_NUM_DR0 0
#define REG_NUM_DR1 1
#define REG_NUM_DR10 10
#define REG_NUM_DR11 11
#define REG_NUM_DR12 12
#define REG_NUM_DR13 13
#define REG_NUM_DR14 14
#define REG_NUM_DR15 15
#define REG_NUM_DR2 2
#define REG_NUM_DR3 3
#define REG_NUM_DR4 4
#define REG_NUM_DR5 5
#define REG_NUM_DR6 6
#define REG_NUM_DR7 7
#define REG_NUM_DR8 8
#define REG_NUM_DR9 9
#define REG_NUM_DS 3
#define REG_NUM_DX 2
#define REG_NUM_EAX 0
#define REG_NUM_EBP 5
#define REG_NUM_EBX 3
#define REG_NUM_ECX 1
#define REG_NUM_EDI 7
#define REG_NUM_EDX 2
#define REG_NUM_ES 0
#define REG_NUM_ESI 6
#define REG_NUM_ESP 4
#define REG_NUM_FS 4
#define REG_NUM_GS 5
#define REG_NUM_MM0 0
#define REG_NUM_MM1 1
#define REG_NUM_MM2 2
#define REG_NUM_MM3 3
#define REG_NUM_MM4 4
#define REG_NUM_MM5 5
#define REG_NUM_MM6 6
#define REG_NUM_MM7 7
#define REG_NUM_R10 10
#define REG_NUM_R10B 10
#define REG_NUM_R10D 10
#define REG_NUM_R10W 10
#define REG_NUM_R11 11
#define REG_NUM_R11B 11
#define REG_NUM_R11D 11
#define REG_NUM_R11W 11
#define REG_NUM_R12 12
#define REG_NUM_R12B 12
#define REG_NUM_R12D 12
#define REG_NUM_R12W 12
#define REG_NUM_R13 13
#define REG_NUM_R13B 13
#define REG_NUM_R13D 13
#define REG_NUM_R13W 13
#define REG_NUM_R14 14
#define REG_NUM_R14B 14
#define REG_NUM_R14D 14
#define REG_NUM_R14W 14
#define REG_NUM_R15 15
#define REG_NUM_R15B 15
#define REG_NUM_R15D 15
#define REG_NUM_R15W 15
#define REG_NUM_R8 8
#define REG_NUM_R8B 8
#define REG_NUM_R8D 8
#define REG_NUM_R8W 8
#define REG_NUM_R9 9
#define REG_NUM_R9B 9
#define REG_NUM_R9D 9
#define REG_NUM_R9W 9
#define REG_NUM_RAX 0
#define REG_NUM_RBP 5
#define REG_NUM_RBX 3
#define REG_NUM_RCX 1
#define REG_NUM_RDI 7
#define REG_NUM_RDX 2
#define REG_NUM_RSI 6
#define REG_NUM_RSP 4
#define REG_NUM_SEGR6 6
#define REG_NUM_SEGR7 7
#define REG_NUM_SI 6
#define REG_NUM_SIL 6
#define REG_NUM_SP 4
#define REG_NUM_SPL 4
#define REG_NUM_SS 2
#define REG_NUM_ST0 0
#define REG_NUM_ST1 1
#define REG_NUM_ST2 2
#define REG_NUM_ST3 3
#define REG_NUM_ST4 4
#define REG_NUM_ST5 5
#define REG_NUM_ST6 6
#define REG_NUM_ST7 7
#define REG_NUM_TR0 0
#define REG_NUM_TR1 1
#define REG_NUM_TR2 2
#define REG_NUM_TR3 3
#define REG_NUM_TR4 4
#define REG_NUM_TR5 5
#define REG_NUM_TR6 6
#define REG_NUM_TR7 7
#define REG_NUM_XMM0 0
#define REG_NUM_XMM1 1
#define REG_NUM_XMM10 10
#define REG_NUM_XMM11 11
#define REG_NUM_XMM12 12
#define REG_NUM_XMM13 13
#define REG_NUM_XMM14 14
#define REG_NUM_XMM15 15
#define REG_NUM_XMM2 2
#define REG_NUM_XMM3 3
#define REG_NUM_XMM4 4
#define REG_NUM_XMM5 5
#define REG_NUM_XMM6 6
#define REG_NUM_XMM7 7
#define REG_NUM_XMM8 8
#define REG_NUM_XMM9 9
#define REG_NUM_YMM0 0
#define REG_NUM_YMM1 1
#define REG_NUM_YMM10 10
#define REG_NUM_YMM11 11
#define REG_NUM_YMM12 12
#define REG_NUM_YMM13 13
#define REG_NUM_YMM14 14
#define REG_NUM_YMM15 15
#define REG_NUM_YMM2 2
#define REG_NUM_YMM3 3
#define REG_NUM_YMM4 4
#define REG_NUM_YMM5 5
#define REG_NUM_YMM6 6
#define REG_NUM_YMM7 7
#define REG_NUM_YMM8 8
#define REG_NUM_YMM9 9
#endif /* NASM_REGS_H */
|