From 454aa038265d15cbf54da5c21330569481ca5188 Mon Sep 17 00:00:00 2001 From: Murad Date: Wed, 26 Jan 2022 20:28:38 +0300 Subject: [PATCH] oops: remove near jump It was interfering with other instructions because it was using the same instruction encoding. I have fucked up. --- DESIGN.md | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/DESIGN.md b/DESIGN.md index d7cd0d8..3064f67 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -57,21 +57,6 @@ significant bits. `IIII` — 4-bit immediate value. -### NEAR JUMP - -``` -+—+—+—+—+———————+ -|1|0|C|D|O O O O| -+—+—+—+—+———————+ -``` - -`C` — `0` to ignore carry flag and jump unconditionally, -`1` to only jump if carry flag is set. - -`D` — direction of jump, `1` to jump forward, `0` to jump backward. - -`OOOO` — jump offset. - ### FAR JUMP ``` @@ -308,7 +293,7 @@ If `R1` value is greater than 8, `R0` is zeroed. +—+—+—+—+—+—+—+—+ ``` -### HALT +### RESET ``` +—+—+—+—+—+—+—+—+