[WIP] 8 Bit CPU
This is a CPU that is still in progress, current completed parts are ALU and register.
The register have 8 files (R0-R7), each is 8 bits. The register can hold total of 64 bits, or 8 bytes.
ALU support ADD SUB AND OR XOR NOR NAND XNOR, used MUX to select final output from ALU.
opcodes for selectors:
ALU MUX opcodes:
000 ADD
001 SUB
010 AND
011 OR
100 XOR
101 NAND
110 NOR
111 XNOR
Register opcodes:
000 R0
001 R1
010 R2
011 R3
100 R4
101 R5
110 R6
111 R7
Write in (to register) opcodes:
0 Manual/external input
1 ALU outputs