Add registers section

This commit is contained in:
Camden Dixie O'Brien 2024-11-08 14:54:19 +00:00
parent 91bbdcdb23
commit 60fdd3b3aa

View File

@ -94,4 +94,26 @@
\[\mathrm{address} = C_d + R_b + C_sR_i\] \[\mathrm{address} = C_d + R_b + C_sR_i\]
\section{Registers}
\begin{tabularx}{\colwidth}{|>{\ttfamily}l|>{\ttfamily}l|>{\ttfamily}l|>{\ttfamily}l|X|}
\hline
rax & eax & ax & al & accumulator \\ \hline
rbx & ebx & bx & bl & data pointer \\ \hline
rcx & ecx & cx & cl & counter \\ \hline
rdx & edx & dx & dl & I/O pointer \\ \hline
rsi & esi & si & sil & source pointer \\ \hline
rdi & edi & di & dil & destination pointer \\ \hline
rsp & esp & sp & spl & stack pointer \\ \hline
rbp & ebp & bp & bpl & base pointer \\ \hline
r8 & r8d & r8w & r8b & general purpose \\ \hline
r9 & r9d & r9w & r9b & general purpose \\ \hline
r10 & r10d & r10w & r10b & general purpose \\ \hline
r11 & r11d & r11w & r11b & general purpose \\ \hline
r12 & r12d & r12w & r12b & general purpose \\ \hline
r13 & r13d & r13w & r13b & general purpose \\ \hline
r14 & r14d & r14w & r14b & general purpose \\ \hline
r15 & r15d & r15w & r15b & general purpose \\ \hline
\end{tabularx}
\end{document} \end{document}