Memory Region - CPU Stack Page: Difference between revisions

From NerdConsole
Jump to navigationJump to search
No edit summary
No edit summary
Line 2: Line 2:


<span class='mono'>$0100 - $01FF</span>
<span class='mono'>$0100 - $01FF</span>
Size: 256 bytes


To allow for calling subroutines, the CPU reserves page 1 of the address space for the call stack.  It can be used for other purposes too, if needed, but most of the time it will be used automatically by the CPU to handle calling and returning from function calls.
To allow for calling subroutines, the CPU reserves page 1 of the address space for the call stack.  It can be used for other purposes too, if needed, but most of the time it will be used automatically by the CPU to handle calling and returning from function calls.

Revision as of 20:49, 27 January 2024

Address Range:

$0100 - $01FF

Size: 256 bytes

To allow for calling subroutines, the CPU reserves page 1 of the address space for the call stack. It can be used for other purposes too, if needed, but most of the time it will be used automatically by the CPU to handle calling and returning from function calls.

Return to Memory Regions.