LOAD and STORE instructions SIMULATION.
In CircuitVerse simulator we see how LOAD and STORE instructions work in Scott's CPU. You can run your own simulation.
In Scott’s CPU, as in many other kind of CPUs, the ALU operates only with registers so we need some kind of instructions to get data from the RAM and to store data into the RAM.
Replying to @vivekgalatage @dendibakh
How computers really work - from transistors to CPU (endorsed by Andrej Karpathy co-founder of OpenAI)
This playlist explain how computers work from scratch. Starting from the basics we build every component step by step.
youtube.com/playlist?list=PL…
teapawt.net/karpathy/status/181889….
Actually this was really good - a tour from one transistor to a small CPU (Scott CPU, to be precise).
The YouTube playlist:
youtube.com/watch?v=HaBMAD-D…
I also haven't yet come across the "But How Do It Know" by Scott, which this is based on, and which looks great:
amazon.com/But-How-Know-Prin…
Turns out this is a whole deeper rabbit hole of people who've also built + simulated it in code, e.g.:
djharper.dev/post/2019/05/21…
Now I must resist the temptation to simulate Scott CPU in C, add tensor cores to it, move it to an FPGA and get it to inference a Llama.
How CPU runs logic and mathematical operation? how the ALU instruction are fetched decoded and executed?
Replying to @CompSciFact
Here the very bottom of things... the hardware level
Here the link to the video youtu.be/Kv2fPywX7EA
Here the link to the circuit circuitverse.org/simulator/e…
Here the link to the playlist youtube.com/playlist?list=PL…








