summaryrefslogtreecommitdiff
path: root/decoder.v
diff options
context:
space:
mode:
authorNick McKinney <nick@kmonkey.net>2016-12-29 16:00:40 -0600
committerNick McKinney <nick@kmonkey.net>2016-12-29 16:00:40 -0600
commit32edc0eea4ea03239cfa083fb85693191cda240b (patch)
tree4bcf9075d4de1624d1f049a317a35f7cd53ffe99 /decoder.v
parentc03c7a8a7e9b67ad97c7bfd2ded09c3f1bb2b4f3 (diff)
start a wish list for instructions to add in the future
Diffstat (limited to 'decoder.v')
-rw-r--r--decoder.v5
1 files changed, 5 insertions, 0 deletions
diff --git a/decoder.v b/decoder.v
index 1ff3b61..38519f2 100644
--- a/decoder.v
+++ b/decoder.v
@@ -58,6 +58,11 @@ module decoder (
// b** (relative branch: ne, eq, gt, lt, ge, le, always)
// jmp (absolute branch)
+// WISH LIST:
+// inc/dec for adding 1 and -1 in one instruction
+// cmp, which is sub without actually storing the result
+// cmpi, which is cmp with a sign-extended immediate argument
+
// 8 registers, 3 bits per register argument
// 4 bits for instruction
// instr with 3 reg params is 13 bits