From 02cf72902e92215f70121544557e7bd991df1f76 Mon Sep 17 00:00:00 2001 From: Garritt McCune Date: Mon, 26 Sep 2022 22:13:48 -0500 Subject: [PATCH] Updated the load instructions. --- docs/document.tex | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/document.tex b/docs/document.tex index 73bec7a..ea591e8 100644 --- a/docs/document.tex +++ b/docs/document.tex @@ -73,12 +73,12 @@ \section{LODW (Load Machine Word)} \OpcodeTable{0x20}{lodw}{Register}{Address}\\[6pt] Loads a word into a register from a memory address. - \section{LABR (Load Byte from Address)} - \OpcodeTable{0x20}{stow}{Register}{None}\\[6pt] - Loads a single byte, zeroing out the high nibble, with the address found in the register. - \section{LAWR (Load Word from Address)} - \OpcodeTable{0x20}{lawr}{Register}{None}\\[6pt] - Loads a machine word with the address found in the register. + \section{LODBI (Load Immediate Byte)} + \OpcodeTable{0x00}{lodbi}{Register}{Constant}\\[6pt] + Loads an immediate byte into the register, zeroing the high nibble. + \section{LODWI (Load Immediate Word)} + \OpcodeTable{0x00}{lodwi}{Register}{Constant}\\[6pt] + Loads an immediate machine word into the register. \section{CMP (Compare)} \OpcodeTable{0x20}{cmp}{Register}{Register}\\[6pt] Compares two registers and somewhere sets a result, maybe in register 1?