Quantcast
Channel: Active questions tagged memory - Retrocomputing Stack Exchange
Viewing all articles
Browse latest Browse all 44

Did anyone ever run out of stack space on the 6502?

$
0
0

Unlike its main rival the Z80, the 6502 had a size limit of 256 bytes for the hardware stack. That sounds like a very tight limit, but in my experience, it was never actually an issue; by the time you were trying to do anything complex enough to exceed it, you would run out of 64K RAM before running out of the 256-byte stack.

But my experience is not necessarily universal. So, did anyone ever run out of stack space on a 6502?

Obviously I'm not counting 'a coding bug caused infinite recursion'. I'm looking for answers like 'X computer algebra package ran on the Apple II, but it used algorithms that legitimately did some heavy recursion, so it could only solve equations up to complexity Y before running out of stack space even though there was still some RAM to spare'.


Viewing all articles
Browse latest Browse all 44

Trending Articles