x86 architecture
SIB byte




   
r32/r64 rAX rCX rDX rBX SS:rSP  #1 rSI rDI
r32/r64 with REX.B=1 r8 r9 r10 r11 r12  #2 r14 r15
r32/r64 with REX2/EVEX.B=0 and REX2/EVEX.B'=1 r16 r17 r18 r19 r20  #3 r22 r23
r32/r64 with REX2/EVEX.B=1 and REX2/EVEX.B'=1 r24 r25 r26 r27 r28  #4 r30 r31
base=
base=
0
000
1
001
2
010
3
011
4
100
5
101
6
110
7
111
 
scaled index
 
S index value of SIB byte (hex)
traditional  
VSIB
 
REX2/EVEX.X'=0 REX2/EVEX.X'=1 MVEX/EVEX.v'=0 (not X') MVEX/EVEX.v'=1 (not X')
REX.X=0 REX.X=1 REX2/EVEX.X=0 REX2/EVEX.X=1 MVEX/EVEX.X=0 MVEX/EVEX.X=1 MVEX/EVEX.X=0 MVEX/EVEX.X=1
[rAX*1+base]  
[rCX*1+base]  
[rDX*1+base]  
[rBX*1+base]  
[none*1+base]  
[rBP*1+base]  
[rSI*1+base]  
[rDI*1+base]  
[r8*1+base]  
[r9*1+base]  
[r10*1+base]  
[r11*1+base]  
[r12*1+base]  
[r13*1+base]  
[r14*1+base]  
[r15*1+base]  
[r16*1+base]  
[r17*1+base]  
[r18*1+base]  
[r19*1+base]  
[r20*1+base]  
[r21*1+base]  
[r22*1+base]  
[r23*1+base]  
[r24*1+base]  
[r25*1+base]  
[r26*1+base]  
[r27*1+base]  
[r28*1+base]  
[r29*1+base]  
[r30*1+base]  
[r31*1+base]  
[?MM0*1+base]  
[?MM1*1+base]  
[?MM2*1+base]  
[?MM3*1+base]  
[?MM4*1+base]  
[?MM5*1+base]  
[?MM6*1+base]  
[?MM7*1+base]  
[?MM8*1+base]  
[?MM9*1+base]  
[?MM10*1+base]  
[?MM11*1+base]  
[?MM12*1+base]  
[?MM13*1+base]  
[?MM14*1+base]  
[?MM15*1+base]  
[?MM16*1+base]  
[?MM17*1+base]  
[?MM18*1+base]  
[?MM19*1+base]  
[?MM20*1+base]  
[?MM21*1+base]  
[?MM22*1+base]  
[?MM23*1+base]  
[?MM24*1+base]  
[?MM25*1+base]  
[?MM26*1+base]  
[?MM27*1+base]  
[?MM28*1+base]  
[?MM29*1+base]  
[?MM30*1+base]  
[?MM31*1+base]  
00
 
 
 
 
 
 
 
000
001
010
011
100
101
110
111
00
08
10
18
20
28
30
38
01
09
11
19
21
29
31
39
02
0A
12
1A
22
2A
32
3A
03
0B
13
1B
23
2B
33
3B
04
0C
14
1C
24
2C
34
3C
05
0D
15
1D
25
2D
35
3D
06
0E
16
1E
26
2E
36
3E
07
0F
17
1F
27
2F
37
3F
[rAX*2+base]  
[rCX*2+base]  
[rDX*2+base]  
[rBX*2+base]  
[none*2+base]  
[rBP*2+base]  
[rSI*2+base]  
[rDI*2+base]  
[r8*2+base]  
[r9*2+base]  
[r10*2+base]  
[r11*2+base]  
[r12*2+base]  
[r13*2+base]  
[r14*2+base]  
[r15*2+base]  
[r16*2+base]  
[r17*2+base]  
[r18*2+base]  
[r19*2+base]  
[r20*2+base]  
[r21*2+base]  
[r22*2+base]  
[r23*2+base]  
[r24*2+base]  
[r25*2+base]  
[r26*2+base]  
[r27*2+base]  
[r28*2+base]  
[r29*2+base]  
[r30*2+base]  
[r31*2+base]  
[?MM0*2+base]  
[?MM1*2+base]  
[?MM2*2+base]  
[?MM3*2+base]  
[?MM4*2+base]  
[?MM5*2+base]  
[?MM6*2+base]  
[?MM7*2+base]  
[?MM8*2+base]  
[?MM9*2+base]  
[?MM10*2+base]  
[?MM11*2+base]  
[?MM12*2+base]  
[?MM13*2+base]  
[?MM14*2+base]  
[?MM15*2+base]  
[?MM16*2+base]  
[?MM17*2+base]  
[?MM18*2+base]  
[?MM19*2+base]  
[?MM20*2+base]  
[?MM21*2+base]  
[?MM22*2+base]  
[?MM23*2+base]  
[?MM24*2+base]  
[?MM25*2+base]  
[?MM26*2+base]  
[?MM27*2+base]  
[?MM28*2+base]  
[?MM29*2+base]  
[?MM30*2+base]  
[?MM31*2+base]  
01
 
 
 
 
 
 
 
000
001
010
011
100
101
110
111
40
48
50
58
60
68
70
78
41
49
51
59
61
69
71
79
42
4A
52
5A
62
6A
72
7A
43
4B
53
5B
63
6B
73
7B
44
4C
54
5C
64
6C
74
7C
45
4D
55
5D
65
6D
75
7D
46
4E
56
5E
66
6E
76
7E
47
4F
57
5F
67
6F
77
7F
[rAX*4+base]  
[rCX*4+base]  
[rDX*4+base]  
[rBX*4+base]  
[none*4+base]  
[rBP*4+base]  
[rSI*4+base]  
[rDI*4+base]  
[r8*4+base]  
[r9*4+base]  
[r10*4+base]  
[r11*4+base]  
[r12*4+base]  
[r13*4+base]  
[r14*4+base]  
[r15*4+base]  
[r16*4+base]  
[r17*4+base]  
[r18*4+base]  
[r19*4+base]  
[r20*4+base]  
[r21*4+base]  
[r22*4+base]  
[r23*4+base]  
[r24*4+base]  
[r25*4+base]  
[r26*4+base]  
[r27*4+base]  
[r28*4+base]  
[r29*4+base]  
[r30*4+base]  
[r31*4+base]  
[?MM0*4+base]  
[?MM1*4+base]  
[?MM2*4+base]  
[?MM3*4+base]  
[?MM4*4+base]  
[?MM5*4+base]  
[?MM6*4+base]  
[?MM7*4+base]  
[?MM8*4+base]  
[?MM9*4+base]  
[?MM10*4+base]  
[?MM11*4+base]  
[?MM12*4+base]  
[?MM13*4+base]  
[?MM14*4+base]  
[?MM15*4+base]  
[?MM16*4+base]  
[?MM17*4+base]  
[?MM18*4+base]  
[?MM19*4+base]  
[?MM20*4+base]  
[?MM21*4+base]  
[?MM22*4+base]  
[?MM23*4+base]  
[?MM24*4+base]  
[?MM25*4+base]  
[?MM26*4+base]  
[?MM27*4+base]  
[?MM28*4+base]  
[?MM29*4+base]  
[?MM30*4+base]  
[?MM31*4+base]  
10
 
 
 
 
 
 
 
000
001
010
011
100
101
110
111
80
88
90
98
A0
A8
B0
B8
81
89
91
99
A1
A9
B1
B9
82
8A
92
9A
A2
AA
B2
BA
83
8B
93
9B
A3
AB
B3
BB
84
8C
94
9C
A4
AC
B4
BC
85
8D
95
9D
A5
AD
B5
BD
86
8E
96
9E
A6
AE
B6
BE
87
8F
97
9F
A7
AF
B7
BF
[rAX*8+base]  
[rCX*8+base]  
[rDX*8+base]  
[rBX*8+base]  
[none*8+base]  
[rBP*8+base]  
[rSI*8+base]  
[rDI*8+base]  
[r8*8+base]  
[r9*8+base]  
[r10*8+base]  
[r11*8+base]  
[r12*8+base]  
[r13*8+base]  
[r14*8+base]  
[r15*8+base]  
[r16*8+base]  
[r17*8+base]  
[r18*8+base]  
[r19*8+base]  
[r20*8+base]  
[r21*8+base]  
[r22*8+base]  
[r23*8+base]  
[r24*8+base]  
[r25*8+base]  
[r26*8+base]  
[r27*8+base]  
[r28*8+base]  
[r29*8+base]  
[r30*8+base]  
[r31*8+base]  
[?MM0*8+base]  
[?MM1*8+base]  
[?MM2*8+base]  
[?MM3*8+base]  
[?MM4*8+base]  
[?MM5*8+base]  
[?MM6*8+base]  
[?MM7*8+base]  
[?MM8*8+base]  
[?MM9*8+base]  
[?MM10*8+base]  
[?MM11*8+base]  
[?MM12*8+base]  
[?MM13*8+base]  
[?MM14*8+base]  
[?MM15*8+base]  
[?MM16*8+base]  
[?MM17*8+base]  
[?MM18*8+base]  
[?MM19*8+base]  
[?MM20*8+base]  
[?MM21*8+base]  
[?MM22*8+base]  
[?MM23*8+base]  
[?MM24*8+base]  
[?MM25*8+base]  
[?MM26*8+base]  
[?MM27*8+base]  
[?MM28*8+base]  
[?MM29*8+base]  
[?MM30*8+base]  
[?MM31*8+base]  
11
 
 
 
 
 
 
 
000
001
010
011
100
101
110
111
C0
C8
D0
D8
E0
E8
F0
F8
C1
C9
D1
D9
E1
E9
F1
F9
C2
CA
D2
DA
E2
EA
F2
FA
C3
CB
D3
DB
E3
EB
F3
FB
C4
CC
D4
DC
E4
EC
F4
FC
C5
CD
D5
DD
E5
ED
F5
FD
C6
CE
D6
DE
E6
EE
F6
FE
C7
CF
D7
DF
E7
EF
F7
FF
notes descriptions
#1 if mod=00 then base=sdword
if mod=01 then base=rBP+sbyte#5 (defaults to SS)
if mod=10 then base=rBP+sdword (defaults to SS) 
#2 if mod=00 then base=sdword
if mod=01 then base=r13+sbyte#5
if mod=10 then base=r13+sdword 
#3 if mod=00 then base=sdword
if mod=01 then base=r21+sbyte#5
if mod=10 then base=r21+sdword 
#4 if mod=00 then base=sdword
if mod=01 then base=r29+sbyte#5
if mod=10 then base=r29+sdword 
#5 if MVEX/EVEX, then sbyte is interpreted as sbyte*N



main page

© 1996-2024 by Christian Ludloff. All rights reserved. Use at your own risk.