Building the TD4 4-Bit CPU
33 points
by zdw
2 days ago
| 5 comments
| jayakody2000lk.blogspot.com
| HN
SoftTalker
18 minutes ago
[-]
These little projects are such a good way to illustrate principles in a concrete way, even if they aren't "useful" in any other regard.

Back in 1983 or so, I had a TI/99 computer and found a BASIC program called "PicoProcessor" in one of the home computing magazines. It emulated a 4-bit microprocessor. It only had a handful of instructions, 16 bytes of memory, and a couple of registers but it was enough to illustrate the concepts of how a processor runs machine code, in a way that was much more understandable than just reading about it.

reply
drzaiusx11
1 hour ago
[-]
I love this 4bit "isa" with 12 simple instructions. It makes me want to dig out my old 74x chips from storage and make one. That said, thank God for FireFox Reader mode, on mobile at least the add popups make this excellent blog post unreadable..
reply
signa11
2 days ago
[-]
it would be remiss to not mention the most excellent ben-eater's 8bit-computer https://eater.net/8bit and ofcourse the nand-to-tetris book + resources (https://www.nand2tetris.org/)
reply
cpldcpu
2 days ago
[-]
But why is this always the first comment on custom CPU builds? Can't there also be other designs out there?
reply
phire
1 day ago
[-]
Because they are both well-known and really well documented in a way that's easy for beginners.
reply
kjs3
2 days ago
[-]
Noone ever mentions this one, but I always found it pretty cool: https://www.donnamaie.com/AMD_2900.html
reply
signa11
2 days ago
[-]
i look forward to other resources as accessible to those pointed out. by all means, go for it.
reply
NooneAtAll3
2 days ago
[-]
where can I find the full list of instructions?
reply
cpldcpu
2 days ago
[-]
reply
drzaiusx11
1 hour ago
[-]
reply
cpldcpu
2 days ago
[-]
Nice!
reply