Add register usage and open(2) flag tables
This commit is contained in:
parent
5430395bbd
commit
c71c8d54a6
28
main.tex
28
main.tex
@ -22,6 +22,34 @@
|
|||||||
\vspace{1em}
|
\vspace{1em}
|
||||||
\end{center}
|
\end{center}
|
||||||
|
|
||||||
|
\noindent
|
||||||
|
\begin{center}
|
||||||
|
\begin{tabular}{>{\ttfamily}cl}
|
||||||
|
\toprule
|
||||||
|
\multicolumn{2}{>{\sffamily\bfseries}c}{Register Usage} \\
|
||||||
|
\midrule
|
||||||
|
rax & Syscall number \\
|
||||||
|
& Return value \\
|
||||||
|
rdi & First argument \\
|
||||||
|
rsi & Second argument \\
|
||||||
|
rdx & Third argument \\
|
||||||
|
\bottomrule
|
||||||
|
\end{tabular}
|
||||||
|
\hspace{1em}
|
||||||
|
\begin{tabular}{l>{$}r<{$}}
|
||||||
|
\toprule
|
||||||
|
\multicolumn{2}{>{\sffamily\bfseries}c}{Common open(2) Flags} \\
|
||||||
|
\midrule
|
||||||
|
Read-only & 0_h \\
|
||||||
|
Write-only & 1_h \\
|
||||||
|
Read/write & 2_h \\
|
||||||
|
Create & 40_h \\
|
||||||
|
Truncate & 200_h \\
|
||||||
|
Append & 400_h \\
|
||||||
|
\bottomrule
|
||||||
|
\end{tabular}
|
||||||
|
\end{center}
|
||||||
|
|
||||||
\section{File I/O}
|
\section{File I/O}
|
||||||
|
|
||||||
\begin{tabularx}{\textwidth}{p{4em}p{2em}>{\ttfamily}cX}
|
\begin{tabularx}{\textwidth}{p{4em}p{2em}>{\ttfamily}cX}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user