• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{imm} only parameter:
2  - is {s} in opcode: {s} == 0, unsigned (8/)16/32 bit immediate
3                      {s} == 1, signed 8 bit immediate
4
5{es:di}: segment register normally %es, can be overwritten
6         edi/di depending on apfx
7
8{ds:si}: segment register normally %ds, can be overwritten
9         esi/si depending on apfx
10
11{ax}     al/ax/eax depending of dpfx and w
12
13{dx}     (%edx) or (%dx) depending on apfx
14
15
16{w}      0 = b, 1 = { no dpfx = l, dpfx = w }
17
18{W}      no dpfx = <empty>, dpfx = w
19{WW}     no dpfx = l, dpfx = w
20
21{R} rep prefix possible
22{RE} repe or repne prefix possible
23
24{ccc} CRx registers
25{ddd} DRx registers
26
27{gg}  00 = b, 01 = w, 10 = d, 11 = <illegal>
28{0g}  00 = b, 01 = w, 10 = <illegal>, 11 = <illegal>
29{GG}  00 = <illegal>, 01 = w, 10 = d, 11 = q
30{gG}  00 = <illegal>, 01 = w, 10 = d, 11 = <illegal>
31
32{modr/m} normal registers
33{MODR/M} MMX registers
34{ModR/m} XMM registers
35
36~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37Special opcodes (prefixes):
38
39
4001100111:{apfx}
4101100110:{dpfx}
42
4300101110:{cs}
4400111110:{ds}
4500100110:{es}
4601100100:{fs}
4701100101:{gs}
48
49
50~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51
52table format
53
541bit RE flag
551bit R flag
5616bit mnemonic
573bit suffix
58
595bit fct
602bit string
616bit offset1
625bit offset2
63
644bit fct
651bit string
666bit offset1
674bit offset2
68
692bit fct
701bit string
713bit offset1
721bit offset2
73
7461bit
75