From 9bf4d68769fd5d0de9d7c2e9bfbe8516ffd3c5b0 Mon Sep 17 00:00:00 2001 From: Hayden Kroepfl Date: Sat, 20 Jan 2018 12:29:36 -0700 Subject: [PATCH] Updated Instruction Encoding (markdown) --- Instruction-Encoding.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Instruction-Encoding.md b/Instruction-Encoding.md index 6cbcbc2..6c9decf 100644 --- a/Instruction-Encoding.md +++ b/Instruction-Encoding.md @@ -16,11 +16,11 @@ Selectors are 5-bit values that determine the addressing mode and registers invo | Selector Type | Bit-pattern | Description | | --- | --- | --- | -| REGISTER_16 | | | -| MEMORY_IMM16 | `11110` | | -| MEMORY_REG16 | | | -| MEMORY_REG_DISP16 | | | -| IMMEDIATE16 | `11111` | | +| REGISTER_16 | `00xxx` | Value in register `xxx` | +| MEMORY_IMM16 | `11110` | Address stored at operand word | +| MEMORY_REG16 |`01xxx` | Address stored in register `xxx` | +| MEMORY_REG_DISP16 |`10xxx` | Address stored in register `xxx` plus offset in operand word | +| IMMEDIATE16 | `11111` | Immediate value at operand word | ### Register Indexes | Register | Number | Bit-pattern |