aboutsummaryrefslogtreecommitdiff
path: root/overview.tex
blob: 1a781557f7041185452cae00058a859b16b85b60 (plain) (blame)
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
\documentclass{cheatsheet}

\geometry{a5paper}

\begin{document}
\begin{center}
	\textbf{Clean RTS Cheat Sheet}
\end{center}

\hfill
\begin{minipage}[t][][b]{.5\textwidth}%
	\centering%
	\textbf{Registers, x64}
	\bigskip

	\input{registers-x64}
\end{minipage}%
\begin{minipage}[t][][b]{.5\textwidth}%
	\centering%
	\textbf{Registers, x86}
	\bigskip

	\input{registers-x86}

	\bigskip
	\tabularwrappingfalse%
	\setlength{\tabcolsep}{.2em}%
	\begin{tabular}{|lcccccc|}%
		\multicolumn{7}{c}{\textit{Cdecl Calling Convention}}\\\hline
		\csname @@input\endcsname cdecl-contents \\\hline
	\end{tabular}
\end{minipage}%
\hfill

\bigskip
\tabularwrappingfalse%
\setlength{\tabcolsep}{.2em}%
\begin{tabular}{|lcccccccc|}%
	\multicolumn{9}{c}{\textbf{x64 {\CallingConventionHeader}s}}\\
	\multicolumn{1}{c}{}\\[-1em]
	\multicolumn{9}{c}{\textit{System V}}\\\hline
	\csname @@input\endcsname system-v-abi-contents \\\hline

	\multicolumn{1}{c}{}\\
	\multicolumn{9}{c}{\textit{Microsoft x64}}\\\hline
	\csname @@input\endcsname microsoft-x64-contents \\\hline
\end{tabular}%
\hfill

\bigskip

\end{document}