Adding a 256-byte stack to my custom CPU (The CPU You can Build, Ep. 11)

Опубликовано: 17 Июнь 2026
на канале: Polymath Unlimited
1,423
64

Can you build a computer CPU from scratch? YES! In this series, we are building a Logisim simulation of an 8-bit CPU using logic gates. If this series gets enough interest, then I will also plan on building a physical version of this CPU out of real transistors in the near future.

In this episode, we learn about stack memory, and add a stack pointer to our CPU. This will enable us to use the stack in our instruction set later to do things like push and pop instructions, and even subroutine calls!

Here's a link to my video on carry lookahead logic, in case you want a more in-depth explanation of what all that was about when we were designing the stack pointer:

   • How Carry Lookahead Adders Work (The CPU Y...  

Disclaimer: This video contains images generated with artificial intelligence.

#logisim #stackpointer #CPU #8bit