Remove % prefix from register names

This commit is contained in:
Camden Dixie O'Brien 2024-11-09 12:18:08 +00:00
parent 9cd6123a2b
commit 7a12f7abda

View File

@ -25,19 +25,19 @@
\begin{tabularx}{\textwidth}{lr>{\ttfamily}cX} \begin{tabularx}{\textwidth}{lr>{\ttfamily}cX}
\toprule \toprule
read & 0 & \%rdi & File descriptor to read from \\ read & 0 & rdi & File descriptor to read from \\
& & \%rsi & Address of buffer \\ & & rsi & Address of buffer \\
& & \%rdx & Number of bytes to read \\ & & rdx & Number of bytes to read \\
\midrule \midrule
write & 1 & \%rdi & File descriptor to write to \\ write & 1 & rdi & File descriptor to write to \\
& & \%rsi & Address of buffer \\ & & rsi & Address of buffer \\
& & \%rdx & Number of bytes to write \\ & & rdx & Number of bytes to write \\
\midrule \midrule
open & 2 & \%rdi & Address of path \\ open & 2 & rdi & Address of path \\
& & \%rsi & Option flags \\ & & rsi & Option flags \\
& & \%rdx & File creation mode \\ & & rdx & File creation mode \\
\midrule \midrule
close & 3 & \%rdi & File descriptor to close \\ close & 3 & rdi & File descriptor to close \\
\bottomrule \bottomrule
\end{tabularx} \end{tabularx}
@ -47,11 +47,11 @@
\toprule \toprule
fork & 57 & \textrm{\textendash} & No parameters \\ fork & 57 & \textrm{\textendash} & No parameters \\
\midrule \midrule
execve & 59 & \%rdi & Address of path \\ execve & 59 & rdi & Address of path \\
& & \%rsi & Address of array of arguments \\ & & rsi & Address of array of arguments \\
& & \%rsi & Address of array of environment variables \\ & & rsi & Address of array of environment variables \\
\midrule \midrule
exit & 60 & \%rdi & Exit code \\ exit & 60 & rdi & Exit code \\
\bottomrule \bottomrule
\end{tabularx} \end{tabularx}