phanerozoic commited on
Commit
062669a
·
verified ·
1 Parent(s): dd7a66f

Add missing CPU components todo

Browse files
Files changed (1) hide show
  1. todo.md +42 -0
todo.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Missing CPU Components
2
+
3
+ ## Core CPU Components
4
+
5
+ | Component | Description | Status |
6
+ |-------------------------|-----------------------------|--------------------------------|
7
+ | SUB | Subtraction circuit | Missing - need NOT(B)+1+A path |
8
+ | DIV | Division circuit | Missing |
9
+ | NEG | Two's complement negate | Missing |
10
+ | Program Counter | PC register + increment | Missing |
11
+ | PC Load | Load PC from jump target | Missing |
12
+ | Register File MUX | Select 1-of-4 GPRs | Missing |
13
+ | Register Write Enable | Write back to register | Missing |
14
+ | Memory Address Register | MAR latch | Missing |
15
+ | Memory Data Register | MDR latch | Missing |
16
+ | Memory Read/Write | R/W enable signals | Missing |
17
+ | Instruction Register | IR latch | Missing |
18
+ | Instruction Decoder | Opcode → microops | Missing |
19
+ | Sequencer FSM | Fetch/Decode/Execute states | Missing |
20
+
21
+ ## Extended Operations
22
+
23
+ | Component | Description | Status |
24
+ |-----------|--------------------------------------|-----------------------------------------------------|
25
+ | ROL | Rotate left through carry | Missing |
26
+ | ROR | Rotate right through carry | Missing |
27
+ | ASR | Arithmetic shift right (sign-extend) | Missing |
28
+ | ADC | Add with carry input | Missing |
29
+ | SBC | Subtract with borrow | Missing |
30
+ | CMP | Compare (SUB without writeback) | Missing (comparators exist but not via subtraction) |
31
+
32
+ ## System
33
+
34
+ | Component | Description | Status |
35
+ |------------------------|------------------|---------|
36
+ | Interrupt Controller | IRQ/NMI handling | Missing |
37
+ | Interrupt Vector Table | Jump addresses | Missing |
38
+ | Interrupt Enable Flag | Global IE bit | Missing |
39
+ | I/O Ports | IN/OUT data path | Missing |
40
+ | HALT | Stop execution | Missing |
41
+ | NOP | No operation | Missing |
42
+ | Watchdog Timer | Reset on timeout | Missing |