aboutsummaryrefslogtreecommitdiffstats
path: root/16bit-cpu.md
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2024-04-26 15:40:14 +0300
committerJan Tuomi <jan@jantuomi.fi>2024-04-26 15:40:14 +0300
commit7ca56c1a730fcecd0fe3af5e6b652fa09514a18b (patch)
treee2ef6a4d28fa26adf11e00d138ef21b8316497f6 /16bit-cpu.md
parent2b18b320e97260f1d27143a37fe14953cf62e56d (diff)
Refactor project structure, add README and LICENSE
Diffstat (limited to '16bit-cpu.md')
-rw-r--r--16bit-cpu.md33
1 files changed, 0 insertions, 33 deletions
diff --git a/16bit-cpu.md b/16bit-cpu.md
deleted file mode 100644
index d862114..0000000
--- a/16bit-cpu.md
+++ /dev/null
@@ -1,33 +0,0 @@
-# 16-bit CPU design doc
-
-## Features
-16-bit data
-16-bit address width
-16-bit instruction width
-16-bit control word
-Minimal instruction set computer (MISC)
-4-bit opcodes
-Memory mapped I/O
-
-instruction format
-xxxx xxxx xxxx xxxx - xxxx xxxx xxxx xxxx
-
-General purpose registers:
-
- RA (0) .. RH (7)
-
-Expansion port that connects directly to the main bus
-
-Default addressing mode: indirect absolute (addresses are stored in registers and point to a complete address). Some instructions use PC-relative addressing.
-
-## Operations
-
-TODO rewrite bit about operations
-
-ALU flags:
-- C = carry bit
-- O = overflow bit
-- Z = zero bit
-- S = sign bit
-
-Interrupt lines: ???