aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml3
-rw-r--r--README.md2
-rw-r--r--microsoft-x64.tex14
-rw-r--r--windows-x64.tex8
4 files changed, 27 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b3b3cdd..2b684f9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,10 @@ pdf:
- pdflatex linux-x64.tex
- pdflatex mac.tex
- pdflatex mac.tex
+ - pdflatex windows-x64.tex
+ - pdflatex windows-x64.tex
artifacts:
paths:
- linux-x64.pdf
- mac.pdf
+ - windows-x64.pdf
diff --git a/README.md b/README.md
index b343d2b..48e9cce 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,7 @@ run-time system. Clone the repository to build the PDFs or download them here:
- [Linux (x64)][linux-x64]
- [Mac][mac]
+- [Windows (x64)][windows-x64]
- [Zip with all cheat sheets][zip]
## Naming conventions
@@ -21,4 +22,5 @@ run-time system. Clone the repository to build the PDFs or download them here:
[linux-x64]: https://gitlab.science.ru.nl/cstaps/clean-rts-cheat-sheet/-/jobs/artifacts/master/raw/linux-x64.pdf?job=pdf
[mac]: https://gitlab.science.ru.nl/cstaps/clean-rts-cheat-sheet/-/jobs/artifacts/master/raw/mac.pdf?job=pdf
+[windows-x64]: https://gitlab.science.ru.nl/cstaps/clean-rts-cheat-sheet/-/jobs/artifacts/master/raw/windows-x64.pdf?job=pdf
[zip]: https://gitlab.science.ru.nl/cstaps/clean-rts-cheat-sheet/-/jobs/artifacts/master/download?job=pdf
diff --git a/microsoft-x64.tex b/microsoft-x64.tex
new file mode 100644
index 0000000..59ce87e
--- /dev/null
+++ b/microsoft-x64.tex
@@ -0,0 +1,14 @@
+\fcolorbox{black}{white}{%
+ \setlength{\tabcolsep}{.2em}%
+ \begin{tabular}{lcccccccc}
+ \multicolumn{7}{c}{\textbf{Function Calls}}\\\hline
+ Arguments: & rcx & rdx & r8 & r9\\
+ & A0 & A1 & A2 & scr\\
+ \hline
+ Result: & rax \\
+ & B0 \\
+ \hline
+ Callee-saved: & rbx & rbp & rdi & rsi & r12 & r13 & r14 & r15 \\
+ & B1 & scr & hp & asp & B4 & B5 & B6 & free \\
+ \end{tabular}%
+}%
diff --git a/windows-x64.tex b/windows-x64.tex
new file mode 100644
index 0000000..88561f7
--- /dev/null
+++ b/windows-x64.tex
@@ -0,0 +1,8 @@
+\documentclass{cheatsheet}
+\begin{document}
+\cheatsheettitle[x64]{Windows}
+\input{registers}
+
+\bigskip
+\input{microsoft-x64}
+\end{document}