\documentclass[a4paper,12pt]{book}
\usepackage{tikz}
\usepackage{hyperref}
\hypersetup{
	linktoc=all
}

\begin{document}
	\title{Unnamed Machine}
	\author{An attempt to understand the makings of a computer arch}
	\maketitle
	
	\tableofcontents
	\include{chapter 1}
	
\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}
}