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