From 895aa128f388530188cfce84d8fcc40f33eeb2b4 Mon Sep 17 00:00:00 2001 From: Hayden Kroepfl Date: Sun, 7 Jan 2018 20:35:28 -0700 Subject: [PATCH] Updated Instruction Encoding (markdown) --- Instruction-Encoding.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Instruction-Encoding.md b/Instruction-Encoding.md index 9e5a031..47d7a0d 100644 --- a/Instruction-Encoding.md +++ b/Instruction-Encoding.md @@ -20,4 +20,16 @@ Selectors are 5-bit values that determine the addressing mode and registers invo | MEMORY_IMM16 | `11110` | | | MEMORY_REG16 | | | | MEMORY_REG_DISP16 | | | -| IMMEDIATE16 | `11111` | | \ No newline at end of file +| IMMEDIATE16 | `11111` | | + +### Register Indexes +| Register | Number | Bit-pattern | +| --- | --- | --- | +| A | | | +| B | | | +| C | | | +| D | | | +| X | | | +| Y | | | +| SP | | | +| BP | | | \ No newline at end of file