A full CPU simulated in scratch. If you want to write asm programs for this, or even just poke around in the code, read the READ ME sprite. The program that runs when you click the flag is a basic Fibonacci calculation that asks the user how much to calculate (dont enter too high a number or it might run out of ram!) and then it prints the results. Made in 29 lines of asm. SPECS ---------------------- 8 registers 256 memory addresses 13 instructions Built in custom assembly blocks for programming Turing complete I/O output and input
I know, it looks a little weird. Decimal? That goes against everything you know about computing. However, it is important to note that binary was never required to make a CPU. Binary is only used due to the limitations of transistors (specifically, small, simple ones). Scratch doesn't have any of these limitations. And so, instead of creating a whole binary to decimal conversion system like I originally attempted in an unshared project, Ill just use the more efficent route of decimal.