aboutsummaryrefslogtreecommitdiff
path: root/registers-x64.tex
diff options
context:
space:
mode:
authorCamil Staps2019-12-14 11:19:39 +0100
committerCamil Staps2019-12-14 11:19:39 +0100
commit71fdadc8588d480c5e33d33f77dff30165292ad8 (patch)
tree77d5bbc96a933f6a463a58a425c0ad1a98576ca7 /registers-x64.tex
parentRemove CI badge from readme (now as gitlab project badge) (diff)
Add cheat sheets for x86 windows
Diffstat (limited to 'registers-x64.tex')
-rw-r--r--registers-x64.tex48
1 files changed, 48 insertions, 0 deletions
diff --git a/registers-x64.tex b/registers-x64.tex
new file mode 100644
index 0000000..0fd363f
--- /dev/null
+++ b/registers-x64.tex
@@ -0,0 +1,48 @@
+{\hfill%
+\fcolorbox{black}{white}{%
+ \begin{tabular}{ll}
+ A0 & rcx \\
+ A1 & rdx \\
+ A2 & r8 \\
+ \hline
+ B0 & rax \\
+ B1 & rbx \\
+ B2 & r10 \\
+ B3 & r11 \\
+ B4 & r12 \\
+ B5 & r13 \\
+ B6 & r14 \\
+ \hline
+ asp & rsi \\
+ bsp & rsp \\
+ hp & rdi \\
+ free & r15 \\
+ \hline
+ scratch & rbp \\
+ scratch & r9 \\
+ \end{tabular}%
+}%
+\hfill%
+\fcolorbox{black}{white}{%
+ \begin{tabular}{ll}
+ rax & B0 \\
+ rbx & B1 \\
+ rcx & A0 \\
+ rdx & A1 \\
+ \hline
+ rbp & scratch \\
+ rdi & hp \\
+ rsi & asp \\
+ rsp & bsp \\
+ \hline
+ r8 & A2 \\
+ r9 & scratch \\
+ r10 & B2 \\
+ r11 & B3 \\
+ r12 & B4 \\
+ r13 & B5 \\
+ r14 & B6 \\
+ r15 & free \\
+ \end{tabular}%
+}%
+\hfill}%