-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimpressions.tex
59 lines (59 loc) · 13.5 KB
/
impressions.tex
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
\begin{tabular}{|>{\raggedright}p{4cm}|>{\raggedright}p{1cm}|>{\raggedright}p{1cm}|>{\raggedright}p{1cm}|>{\raggedright}p{1cm}|>{\raggedright}p{1cm}|>{\raggedright}p{1cm}|>{\raggedright}p{1cm}|>{\raggedright}p{1cm}|>{\raggedright}p{1cm}|>{\raggedright}p{1cm}|}
\hline
\multicolumn{3}{|l|}{\textsf{\footnotesize{}r8(/r)}} & \textsf{\footnotesize{}AL} & \textsf{\footnotesize{}CL} & \textsf{\footnotesize{}DL} & \textsf{\footnotesize{}BL} & \textsf{\footnotesize{}AH} & \textsf{\footnotesize{}CH} & \textsf{\footnotesize{}DH} & \textsf{\footnotesize{}BH }\tabularnewline
\multicolumn{3}{|l|}{\textsf{\footnotesize{}r16(/r)}} & \textsf{\footnotesize{}AX} & \textsf{\footnotesize{}CX } & \textsf{\footnotesize{}DX } & \textsf{\footnotesize{}BX} & \textsf{\footnotesize{}SP } & \textsf{\footnotesize{}BP} & \textsf{\footnotesize{}SI} & \textsf{\footnotesize{}DI }\tabularnewline
\multicolumn{3}{|l|}{\textsf{\footnotesize{}r32(/r)}} & \textsf{\footnotesize{}EAX} & \textsf{\footnotesize{}ECX} & \textsf{\footnotesize{}EDX } & \textsf{\footnotesize{}EBX } & \textsf{\footnotesize{}ESP} & \textsf{\footnotesize{}EBP} & \textsf{\footnotesize{}ESI} & \textsf{\footnotesize{}EDI}\tabularnewline
\multicolumn{3}{|l|}{\textsf{\footnotesize{}mm(/r)}} & \textsf{\footnotesize{}MM0} & \textsf{\footnotesize{}MM1} & \textsf{\footnotesize{}MM2} & \textsf{\footnotesize{}MM3} & \textsf{\footnotesize{}MM4} & \textsf{\footnotesize{}MM5} & \textsf{\footnotesize{}MM6} & \textsf{\footnotesize{}MM7}\tabularnewline
\multicolumn{3}{|l|}{\textsf{\footnotesize{}xmm(/r) }} & \textsf{\footnotesize{}XMM0} & \textsf{\footnotesize{}XMM1} & \textsf{\footnotesize{}XMM2} & \textsf{\footnotesize{}XMM3} & \textsf{\footnotesize{}XMM4} & \textsf{\footnotesize{}XMM5} & \textsf{\footnotesize{}XMM6} & \textsf{\footnotesize{}XMM7}\tabularnewline
\multicolumn{3}{|l|}{\textsf{\footnotesize{}(In decimal) /digit (Opcode)}} & \textsf{\footnotesize{}0} & \textsf{\footnotesize{}1 } & \textsf{\footnotesize{}2} & \textsf{\footnotesize{}3} & \textsf{\footnotesize{}4} & \textsf{\footnotesize{}5} & \textsf{\footnotesize{}6} & \textsf{\footnotesize{}7 }\tabularnewline
\multicolumn{3}{|l|}{\textsf{\footnotesize{}(In binary) REG =}} & \textsf{\footnotesize{}000} & \textsf{\footnotesize{}001} & \textsf{\footnotesize{}010} & \textsf{\footnotesize{}011} & \textsf{\footnotesize{}100} & \textsf{\footnotesize{}101} & \textsf{\footnotesize{}110} & \textsf{\footnotesize{}111}\tabularnewline
\hline
\textsf{\textbf{\footnotesize{}~~~~~~~Effective Address}} & \textsf{\textbf{\footnotesize{}~~Mod}} & \textsf{\textbf{\footnotesize{}~~R/M}} & \multicolumn{8}{c|}{\textsf{\textbf{\footnotesize{}Values of ModR/M Byte (In Hexadecimal)}}}\tabularnewline
\hline
\texttt{\footnotesize{}{[}EAX{]}} & \texttt{\footnotesize{}00} & \texttt{\footnotesize{}000} & \texttt{\footnotesize{}00} & \texttt{\footnotesize{}08} & \texttt{\footnotesize{}10} & \texttt{\footnotesize{}18} & \texttt{\footnotesize{}20} & \texttt{\footnotesize{}28} & \texttt{\footnotesize{}30} & \texttt{\footnotesize{}38}\tabularnewline
\texttt{\footnotesize{}{[}ECX{]}} & & \texttt{\footnotesize{}001} & \texttt{\footnotesize{}01} & \texttt{\footnotesize{}09} & \texttt{\footnotesize{}11} & \texttt{\footnotesize{}19} & \texttt{\footnotesize{}21} & \texttt{\footnotesize{}29} & \texttt{\footnotesize{}31} & \texttt{\footnotesize{}39}\tabularnewline
\texttt{\footnotesize{}{[}EDX{]}} & & \texttt{\footnotesize{}010} & \texttt{\footnotesize{}02} & \texttt{\footnotesize{}0A} & \texttt{\footnotesize{}12} & \texttt{\footnotesize{}1A} & \texttt{\footnotesize{}22} & \texttt{\footnotesize{}2A} & \texttt{\footnotesize{}32} & \texttt{\footnotesize{}3A}\tabularnewline
\texttt{\footnotesize{}{[}EBX{]}} & & \texttt{\footnotesize{}011} & \texttt{\footnotesize{}03} & \texttt{\footnotesize{}0B} & \texttt{\footnotesize{}13} & \texttt{\footnotesize{}1B} & \texttt{\footnotesize{}23} & \texttt{\footnotesize{}2B} & \texttt{\footnotesize{}33} & \texttt{\footnotesize{}3B}\tabularnewline
\texttt{\footnotesize{}{[}-\--{]}{[}-\--{]}\textsuperscript{1}} & & \texttt{\footnotesize{}100} & \texttt{\footnotesize{}04} & \texttt{\footnotesize{}0C} & \texttt{\footnotesize{}14} & \texttt{\footnotesize{}1C} & \texttt{\footnotesize{}24} & \texttt{\footnotesize{}2C} & \texttt{\footnotesize{}34} & \texttt{\footnotesize{}3C}\tabularnewline
\texttt{\footnotesize{}disp32\textsuperscript{2}} & & \texttt{\footnotesize{}101} & \texttt{\footnotesize{}05} & \texttt{\footnotesize{}0D} & \texttt{\footnotesize{}15} & \texttt{\footnotesize{}1D} & \texttt{\footnotesize{}25} & \texttt{\footnotesize{}2D} & \texttt{\footnotesize{}35} & \texttt{\footnotesize{}3D}\tabularnewline
\texttt{\footnotesize{}{[}ESI{]}} & & \texttt{\footnotesize{}110} & \texttt{\footnotesize{}06} & \texttt{\footnotesize{}0E} & \texttt{\footnotesize{}16} & \texttt{\footnotesize{}1E} & \texttt{\footnotesize{}26} & \texttt{\footnotesize{}2E} & \texttt{\footnotesize{}36} & \texttt{\footnotesize{}3E}\tabularnewline
\texttt{\footnotesize{}{[}EDI{]}} & & \texttt{\footnotesize{}111} & \texttt{\footnotesize{}07} & \texttt{\footnotesize{}0F} & \texttt{\footnotesize{}17} & \texttt{\footnotesize{}1F} & \texttt{\footnotesize{}27} & \texttt{\footnotesize{}2F} & \texttt{\footnotesize{}37} & \texttt{\footnotesize{}3F}\tabularnewline
\hline
\texttt{\footnotesize{}{[}EAX{]} + disp8\textsuperscript{\textsf{\footnotesize{}3}}} & \texttt{\footnotesize{}01} & \texttt{\footnotesize{}000} & \texttt{\footnotesize{}40} & \texttt{\footnotesize{}48} & \texttt{\footnotesize{}50} & \texttt{\footnotesize{}58} & \texttt{\footnotesize{}60} & \texttt{\footnotesize{}68} & \texttt{\footnotesize{}70} & \texttt{\footnotesize{}78}\tabularnewline
\texttt{\footnotesize{}{[}ECX{]} + disp8} & & \texttt{\footnotesize{}001} & \texttt{\footnotesize{}41} & \texttt{\footnotesize{}49} & \texttt{\footnotesize{}51} & \texttt{\footnotesize{}59} & \texttt{\footnotesize{}61} & \texttt{\footnotesize{}69} & \texttt{\footnotesize{}71} & \texttt{\footnotesize{}79}\tabularnewline
\texttt{\footnotesize{}{[}EDX{]} + disp8} & & \texttt{\footnotesize{}010} & \texttt{\footnotesize{}42} & \texttt{\footnotesize{}4A} & \texttt{\footnotesize{}52} & \texttt{\footnotesize{}5A} & \texttt{\footnotesize{}62} & \texttt{\footnotesize{}6A} & \texttt{\footnotesize{}72} & \texttt{\footnotesize{}7A}\tabularnewline
\texttt{\footnotesize{}{[}EBX{]} + disp8} & & \texttt{\footnotesize{}011} & \texttt{\footnotesize{}43} & \texttt{\footnotesize{}4B} & \texttt{\footnotesize{}53} & \texttt{\footnotesize{}5B} & \texttt{\footnotesize{}63} & \texttt{\footnotesize{}6B} & \texttt{\footnotesize{}73} & \texttt{\footnotesize{}7B}\tabularnewline
\texttt{\footnotesize{}{[}-\--{]}{[}-\--{]} + disp8} & & \texttt{\footnotesize{}100} & \texttt{\footnotesize{}44} & \texttt{\footnotesize{}4C} & \texttt{\footnotesize{}54} & \texttt{\footnotesize{}5C} & \texttt{\footnotesize{}64} & \texttt{\footnotesize{}6C} & \texttt{\footnotesize{}74} & \texttt{\footnotesize{}7C}\tabularnewline
\texttt{\footnotesize{}{[}EBP{]} + disp8} & & \texttt{\footnotesize{}101} & \texttt{\footnotesize{}45} & \texttt{\footnotesize{}4D} & \texttt{\footnotesize{}55} & \texttt{\footnotesize{}5D} & \texttt{\footnotesize{}65} & \texttt{\footnotesize{}6D} & \texttt{\footnotesize{}75} & \texttt{\footnotesize{}7D}\tabularnewline
\texttt{\footnotesize{}{[}ESI{]} + disp8} & & \texttt{\footnotesize{}110} & \texttt{\footnotesize{}46} & \texttt{\footnotesize{}4E} & \texttt{\footnotesize{}56} & \texttt{\footnotesize{}5E} & \texttt{\footnotesize{}66} & \texttt{\footnotesize{}6E} & \texttt{\footnotesize{}76} & \texttt{\footnotesize{}7E}\tabularnewline
\texttt{\footnotesize{}{[}EDI{]} + disp8} & & \texttt{\footnotesize{}111} & \texttt{\footnotesize{}47} & \texttt{\footnotesize{}4F} & \texttt{\footnotesize{}57} & \texttt{\footnotesize{}5F} & \texttt{\footnotesize{}67} & \texttt{\footnotesize{}6F} & \texttt{\footnotesize{}77} & \texttt{\footnotesize{}7F}\tabularnewline
\hline
\texttt{\footnotesize{}{[}EAX{]} + disp32} & \texttt{\footnotesize{}10} & \texttt{\footnotesize{}000} & \texttt{\footnotesize{}80} & \texttt{\footnotesize{}88} & \texttt{\footnotesize{}90} & \texttt{\footnotesize{}98} & \texttt{\footnotesize{}A0} & \texttt{\footnotesize{}A8} & \texttt{\footnotesize{}B0} & \texttt{\footnotesize{}B8}\tabularnewline
\texttt{\footnotesize{}{[}ECX{]} + disp32} & & \texttt{\footnotesize{}001} & \texttt{\footnotesize{}81} & \texttt{\footnotesize{}89} & \texttt{\footnotesize{}91} & \texttt{\footnotesize{}99} & \texttt{\footnotesize{}A1} & \texttt{\footnotesize{}A9} & \texttt{\footnotesize{}B1} & \texttt{\footnotesize{}B9}\tabularnewline
\texttt{\footnotesize{}{[}EDX{]} + disp32} & & \texttt{\footnotesize{}010} & \texttt{\footnotesize{}82} & \texttt{\footnotesize{}8A} & \texttt{\footnotesize{}92} & \texttt{\footnotesize{}9A} & \texttt{\footnotesize{}A2} & \texttt{\footnotesize{}AA} & \texttt{\footnotesize{}B2} & \texttt{\footnotesize{}BA}\tabularnewline
\texttt{\footnotesize{}{[}EBX{]} + disp32} & & \texttt{\footnotesize{}011} & \texttt{\footnotesize{}83} & \texttt{\footnotesize{}8B} & \texttt{\footnotesize{}93} & \texttt{\footnotesize{}9B} & \texttt{\footnotesize{}A3} & \texttt{\footnotesize{}AB} & \texttt{\footnotesize{}B3} & \texttt{\footnotesize{}BB}\tabularnewline
\texttt{\footnotesize{}{[}-\--{]}{[}-\--{]} + disp32} & & \texttt{\footnotesize{}100} & \texttt{\footnotesize{}84} & \texttt{\footnotesize{}8C} & \texttt{\footnotesize{}94} & \texttt{\footnotesize{}9C} & \texttt{\footnotesize{}A4} & \texttt{\footnotesize{}AC} & \texttt{\footnotesize{}B4} & \texttt{\footnotesize{}BC}\tabularnewline
\texttt{\footnotesize{}{[}EBP{]} + disp32} & & \texttt{\footnotesize{}101} & \texttt{\footnotesize{}85} & \texttt{\footnotesize{}8D} & \texttt{\footnotesize{}95} & \texttt{\footnotesize{}9D} & \texttt{\footnotesize{}A5} & \texttt{\footnotesize{}AD} & \texttt{\footnotesize{}B5} & \texttt{\footnotesize{}BD}\tabularnewline
\texttt{\footnotesize{}{[}ESI{]} + disp32} & & \texttt{\footnotesize{}110} & \texttt{\footnotesize{}86} & \texttt{\footnotesize{}8E} & \texttt{\footnotesize{}96} & \texttt{\footnotesize{}9E} & \texttt{\footnotesize{}A6} & \texttt{\footnotesize{}AE} & \texttt{\footnotesize{}B6} & \texttt{\footnotesize{}BE}\tabularnewline
\texttt{\footnotesize{}{[}EDI{]} + disp32} & & \texttt{\footnotesize{}111} & \texttt{\footnotesize{}87} & \texttt{\footnotesize{}8F} & \texttt{\footnotesize{}97} & \texttt{\footnotesize{}9F} & \texttt{\footnotesize{}A7} & \texttt{\footnotesize{}AF} & \texttt{\footnotesize{}B7} & \texttt{\footnotesize{}BF}\tabularnewline
\hline
\texttt{\footnotesize{}EAX/AX/AL/MM0/XMM0} & \texttt{\footnotesize{}11} & \texttt{\footnotesize{}000} & \texttt{\footnotesize{}C0} & \texttt{\footnotesize{}C8} & \texttt{\footnotesize{}D0} & \texttt{\footnotesize{}D8} & \texttt{\footnotesize{}E0} & \texttt{\footnotesize{}E8} & \texttt{\footnotesize{}F0} & \texttt{\footnotesize{}F8}\tabularnewline
\texttt{\footnotesize{}ECX/CX/CL/MM/XMM1} & & \texttt{\footnotesize{}001} & \texttt{\footnotesize{}C1} & \texttt{\footnotesize{}C9} & \texttt{\footnotesize{}D1} & \texttt{\footnotesize{}D9} & \texttt{\footnotesize{}E1} & \texttt{\footnotesize{}E9} & \texttt{\footnotesize{}F1} & \texttt{\footnotesize{}F9}\tabularnewline
\texttt{\footnotesize{}EDX/DX/DL/MM2/XMM2} & & \texttt{\footnotesize{}010} & \texttt{\footnotesize{}C2} & \texttt{\footnotesize{}CA} & \texttt{\footnotesize{}D2} & \texttt{\footnotesize{}DA} & \texttt{\footnotesize{}E2} & \texttt{\footnotesize{}EA} & \texttt{\footnotesize{}F2} & \texttt{\footnotesize{}FA}\tabularnewline
\texttt{\footnotesize{}EBX/BX/BL/MM3/XMM3} & & \texttt{\footnotesize{}011} & \texttt{\footnotesize{}C3} & \texttt{\footnotesize{}CB} & \texttt{\footnotesize{}D3} & \texttt{\footnotesize{}DB} & \texttt{\footnotesize{}E3} & \texttt{\footnotesize{}EB} & \texttt{\footnotesize{}F3} & \texttt{\footnotesize{}FB}\tabularnewline
\texttt{\footnotesize{}ESP/SP/AH/MM4/XMM4} & & \texttt{\footnotesize{}100} & \texttt{\footnotesize{}C4} & \texttt{\footnotesize{}CC} & \texttt{\footnotesize{}D4} & \texttt{\footnotesize{}DC} & \texttt{\footnotesize{}E4} & \texttt{\footnotesize{}EC} & \texttt{\footnotesize{}F4} & \texttt{\footnotesize{}FC}\tabularnewline
\texttt{\footnotesize{}EBP/BP/CH/MM5/XMM5} & & \texttt{\footnotesize{}101} & \texttt{\footnotesize{}C5} & \texttt{\footnotesize{}CD} & \texttt{\footnotesize{}D5} & \texttt{\footnotesize{}DD} & \texttt{\footnotesize{}E5} & \texttt{\footnotesize{}ED} & \texttt{\footnotesize{}F5} & \texttt{\footnotesize{}FD}\tabularnewline
\texttt{\footnotesize{}ESI/SI/DH/MM6/XMM6} & & \texttt{\footnotesize{}110} & \texttt{\footnotesize{}C6} & \texttt{\footnotesize{}CE} & \texttt{\footnotesize{}D6} & \texttt{\footnotesize{}DE} & \texttt{\footnotesize{}E6} & \texttt{\footnotesize{}EE} & \texttt{\footnotesize{}F6} & \texttt{\footnotesize{}FE}\tabularnewline
\texttt{\footnotesize{}EDI/DI/BH/MM7/XMM7} & & \texttt{\footnotesize{}111} & \texttt{\footnotesize{}C7} & \texttt{\footnotesize{}CF} & \texttt{\footnotesize{}D7} & \texttt{\footnotesize{}DF} & \texttt{\footnotesize{}E7} & \texttt{\footnotesize{}EF} & \texttt{\footnotesize{}F7} & \texttt{\footnotesize{}FF}\tabularnewline
\hline
\multicolumn{11}{>{\raggedright}p{14.5cm}}{\begin{enumerate}
\item \textsf{\footnotesize{}The {[}-\--{]}{[}-\--{]} nomenclature means
a SIB follows the ModR/M byte.}{\footnotesize \par}
\item \textsf{\footnotesize{}The disp32 nomenclature denotes a 32-bit displacement
that follows the ModR/M byte (or the SIB byte if one is present) and
that is added to the index.}{\footnotesize \par}
\item \textsf{\footnotesize{}The disp8 nomenclature denotes an 8-bit displacement
that follows the ModR/M byte (or the SIB byte if one is present) and
that is sign-extended and added to the index.}\end{enumerate}
}\tabularnewline
\end{tabular}