2024-10-18 22:43:12 +02:00
2024-10-18 21:18:14 +02:00
2024-10-18 22:43:12 +02:00
2024-10-18 21:18:14 +02:00
2024-10-18 22:21:42 +02:00
2024-10-18 21:18:14 +02:00

UnnamedCPU

Continuing my exploration of the lower-level world...

This project is the implementation of a CPU in a high-level language, C. It aims to have a reduced (minimalist) instruction set and still be Turing complete.

How to test

You can run a test program like that. I'll try making a developer's manual so one can make its own programs using the custom assembly here.

make
./a.out program.asm

What I'd like to do

  • Finish the instruction set implementation
  • Implement input/output devices (like a serial output that could be redirected to the host terminal)
  • Re-do the CPU in a Hardware Description Language, or even better: with transistors IRL! (i probably won't waste my life doing that tho)
Description
8-bit RISC processing unit & Turing-complete assembly language!
Readme 118 KiB
Languages
C 97.8%
Makefile 1.5%
Assembly 0.7%