Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Made a 8-BIT CPU that can read some Assembly commands and execute them

A topic by Quaxo Coding created Feb 01, 2024 Views: 880 Replies: 3
Viewing posts 1 to 5
(+1)

hello everyone i just made this CPU(1st image) with which you can execute code and make some calculations as well as storing data on the RAM, jumping through the code lines as well as a stackpointer with push and pop it is also possible to store a number as a variable into the src which can be used by the src (e. g. to quickly test if different numbers are prime numbers)

RAM: Storage

CR: decode commands and outputing the data

SR: N-, Z-, V-Flags

ALU: calculations

ACCU: Output

SRC: Encode code (2nd image: just drag lines between the dots of the counter and the "32" chip to write the code the numbers are just numbers i commonly use and the x is the variable)

C: clock (will stop when HOLD command is executed)

SP: stackpointer

"-": just a gate which lets data through when needed

(had to shorten names to save space)

If you'd come up with some code lines i could test them and upload the cycle here



(+1)

Can I get this project file?

(+1)

same Id love the prodject file

https://www.dropbox.com/scl/fo/33osk3mhnzj1oqei68h13/h?rlkey=9s3zix8xlrxxtr7ezg7...

Look for Chip called Maschine

Current program in src is checking if input number X is a prime number

Hit me up if you have any questions