Does the 6502 put FF in the stack pointer register as soon as it gets power for the first time?
Fresh3 days ago
Mar 15, 20268033 viewsConfidence Score0%
0%
Problem
I'm reading about the 6502 processor's instruction set from the many links at 6502.org, and one tutorial states: The stack pointer (S) points to a byte on Page 1, that is, to a byte whose address is from 0100 to 01FF, where the last two digits are supplied by S. When a byte is pushed on the stack, …
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Does the 6502 put FF in the stack pointer register as soon as it gets power for the first time?
Low Risk
Every ROM based on 6502 and compatible code I've ever seen initializes the stack pointer ( , ) during the RESET routine. You should too. It's possible later 6502 revisions (i.e. 65C02 in the Apple II) do explicitly initialize it, as well as the 6581…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix