Z80 Computer - Part 6 The Stack & Subroutine Calls
In this part, I look at the concept of the stack and subroutine calls. After a quick overview of the Z80 registers, I start by explaining what a stack is and how it works. I look at the push and pop instructions and then show a small program. I step through it line by line, watching some of the registers and the area of memory where the stack resides. Next, I look at subroutine calls. I discuss the call and ret instructions and then look at another program. Finally, I show a third program that makes use of subroutine calls and I demonstrate this running on the hardware.

▶︎
Z80 Computer - Part 7 Keyboard Layout

▶︎
The History of Zilog & Z80

▶︎
Modern Z80 Computer RAM/ROM Options
![Fault finding and trying to fix the Apple ][ plus](https://i.ytimg.com/vi/pkxs-180IKU/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLBQOvujbM_6Ar_vdyxookW2aDPlxA)
▶︎
Fault finding and trying to fix the Apple ][ plus

▶︎
FPGAs Aren’t Processors (Unless You Want Them to Be) || FPGA Deep Dive and Use

▶︎
The Madness of Z80 I/O

▶︎
Z80 Homebrew - Yet another one - Ep0

▶︎
An ELF *off* the shelf | The Quest Super ELF | COSMAC 1802

▶︎
Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

▶︎
Revealing The SPECIAL TECHNIQUE Of A Pakistani Man To EXTRACT GOLD From Used Motherboard Waste

▶︎
Z80 Computer - Part 1 The CPU, Clock & Reset

▶︎
Homebrew Z80 Computer from 1977 !! - 8BitBites

▶︎
Building a Homebrew Z80 Computer

▶︎
Part One: Can a Commodore 1541 disk drive be used as a general purpose computer?

▶︎
DIY Z80 Retro Computer #6: Monitor and Keyboard

▶︎
The Fascinating Story of Fluke,The Washington Engineer Who Built The World's Most Trusted Multimeter

▶︎
Why AI is Collapsing: How China is Winning.

▶︎
Building the most controversial Z80 Computer ever

▶︎
