diff --git a/core/cd/summary/cd-summary.pdf b/core/cd/summary/cd-summary.pdf index 0866c94..a13f3f0 100644 Binary files a/core/cd/summary/cd-summary.pdf and b/core/cd/summary/cd-summary.pdf differ diff --git a/core/cd/summary/parts/01_x86-lite/02_instruction-list.tex b/core/cd/summary/parts/01_x86-lite/02_instruction-list.tex index 3a93cc1..f55b3c4 100644 --- a/core/cd/summary/parts/01_x86-lite/02_instruction-list.tex +++ b/core/cd/summary/parts/01_x86-lite/02_instruction-list.tex @@ -2,11 +2,11 @@ A list of instructions is also provided on the Moodle page for the course. \subsubsection{Arithmetic Instructions} -\begin{tables}{lll}{Instruction & Explanation & Example} - \texttt{negq DEST} & 2's complement negation & \verb|negq %rax| \\ - \texttt{addq SRC, DEST} & $\text{DEST} \gets \text{DEST} + \text{DEST}$ & \verb|addq %rbx, %rax| \\ - \texttt{subq SRC, DEST} & $\text{DEST} \gets \text{DEST} + \text{DEST}$ & \verb|subq $4, %rsp| \\ - \texttt{imulq SRC, DEST} & $\text{DEST} \gets \text{DEST} \times \text{DEST}$ & \verb|imulq $4, %rax| \\ +\begin{tables}{lll}{Instruction & Explanation & Example} + \texttt{negq DEST} & 2's complement negation & \verb|negq %rax| \\ + \texttt{addq SRC, DEST} & $\text{DEST} \gets \text{DEST} + \text{SRC}$ & \verb|addq %rbx, %rax| \\ + \texttt{subq SRC, DEST} & $\text{DEST} \gets \text{DEST} - \text{SRC}$ & \verb|subq $4, %rsp| \\ + \texttt{imulq SRC, DEST} & $\text{DEST} \gets \text{DEST} \times \text{SRC}$ & \verb|imulq $4, %rax| \\ \end{tables}