Changes
MOS 6502
,/* Memory Access */
== Memory Access ==
In order to make up for the lack of registers, the 6502 includes a zero page addressing mode ($0000-$00ff00FF) that uses only 1 address byte in the instruction instead of the 2 that are needed to address the full 64 KB of memory. This provides fast access to the first 256 bytes of RAM by using shorter instructions.
The stack is permanently located in memory page 1 ($0100 to $01FF) and managed by the 8-bit stack pointer (S), which an initial value of 0xFF. It grows downward as data is pushed onto the stack.