<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From 71fdadc8588d480c5e33d33f77dff30165292ad8 Mon Sep 17 00:00:00 2001
From: Camil Staps
Date: Sat, 14 Dec 2019 11:19:39 +0100
Subject: Add cheat sheets for x86 windows

---
 registers-x64.tex | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 registers-x64.tex

(limited to 'registers-x64.tex')

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 &amp; rcx \\
+		A1 &amp; rdx \\
+		A2 &amp; r8 \\
+		\hline
+		B0 &amp; rax \\
+		B1 &amp; rbx \\
+		B2 &amp; r10 \\
+		B3 &amp; r11 \\
+		B4 &amp; r12 \\
+		B5 &amp; r13 \\
+		B6 &amp; r14 \\
+		\hline
+		asp &amp; rsi \\
+		bsp &amp; rsp \\
+		hp &amp; rdi \\
+		free &amp; r15 \\
+		\hline
+		scratch &amp; rbp \\
+		scratch &amp; r9 \\
+	\end{tabular}%
+}%
+\hfill%
+\fcolorbox{black}{white}{%
+	\begin{tabular}{ll}
+		rax &amp; B0 \\
+		rbx &amp; B1 \\
+		rcx &amp; A0 \\
+		rdx &amp; A1 \\
+		\hline
+		rbp &amp; scratch \\
+		rdi &amp; hp \\
+		rsi &amp; asp \\
+		rsp &amp; bsp \\
+		\hline
+		r8  &amp; A2 \\
+		r9  &amp; scratch \\
+		r10 &amp; B2 \\
+		r11 &amp; B3 \\
+		r12 &amp; B4 \\
+		r13 &amp; B5 \\
+		r14 &amp; B6 \\
+		r15 &amp; free \\
+	\end{tabular}%
+}%
+\hfill}%
-- 
cgit v1.2.3

</pre></body></html>