Memory Region - CPU Stack Page: Difference between revisions

From NerdConsole
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
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.


Return to [[Memory Regions]].
Return to [[Memory Regions]].
{{#css:User:NerdOfEpic/builtin-palette.css}}
{{#css:User:NerdOfEpic/basic.css}}

Latest revision as of 19:47, 30 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.