First opcode table setup.

This commit is contained in:
2024-07-19 00:53:29 -05:00
parent b6b340fd62
commit 5c646a4835
2 changed files with 23 additions and 13 deletions
+2 -11
View File
@@ -1,4 +1,5 @@
\documentclass[a4paper,12pt]{book}
\usepackage{tabularx}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usepackage{hyperref}
@@ -15,14 +16,4 @@
\include{chapter 1}
\include{chapter 2}
\end{document}
\newcommand{\OpcodeTable}[5] {
\begin{tabular}{ c c c c c }
\hline
Opcode & Bit Pattern & Mnemonic & Operand 1 & Operand 2 \\
\hline\hline
#1 & #2 & #3 & #4 & #5 \\
\hline
\end{tabular}
}
\end{document}