aboutsummaryrefslogtreecommitdiff
path: root/system-v-abi.tex
diff options
context:
space:
mode:
authorCamil Staps2018-11-09 21:24:00 +0100
committerCamil Staps2018-11-09 21:24:00 +0100
commit3482f19f70b7f51a168c0ef6220811004d929763 (patch)
treeb62031185f06a9dd9ccdd2bca92e8282329f7f55 /system-v-abi.tex
parentAdd Windows x64 (diff)
Add overview on A5 paper
Diffstat (limited to 'system-v-abi.tex')
-rw-r--r--system-v-abi.tex19
1 files changed, 5 insertions, 14 deletions
diff --git a/system-v-abi.tex b/system-v-abi.tex
index fccfab5..72142db 100644
--- a/system-v-abi.tex
+++ b/system-v-abi.tex
@@ -1,14 +1,5 @@
-\fcolorbox{black}{white}{%
- \setlength{\tabcolsep}{.2em}%
- \begin{tabular}{lcccccc}
- \multicolumn{7}{c}{\textbf{Function Calls}}\\\hline
- Arguments: & rdi & rsi & rdx & rcx & r8 & r9\\
- & hp & asp & A1 & A0 & A2 & scr\\
- \hline
- Result: & rax & rdx \\
- & B0 & A1 \\
- \hline
- Callee-saved: & rbx & rbp & r12 & r13 & r14 & r15 \\
- & B1 & scr & B4 & B5 & B6 & free \\
- \end{tabular}%
-}%
+\setlength{\tabcolsep}{.2em}%
+\begin{tabular}{lcccccccc}
+ \multicolumn{9}{c}{\textbf{\CallingConventionHeader}}\\\hline
+ \csname @@input\endcsname system-v-abi-contents %
+\end{tabular}%