4 ms·
Not sure about Z80 but stack is a bit of a luxury on 6502 ...
Not sure about Z80 but stack is a bit of a luxury on 6502 ...
The Z-80 stack pointer (SP) is a full 16 bit register. The stack can be anywhere in memory and be as large as needed.
The 6502 has only an 8 bit stack pointer which points into page 1 only (addresses 0x100 .. 0x1FF).
The Z80 stack was only limited by your memory size.