mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-05-28 17:41:37 +00:00
Debugger: Add note about nStack being modified for _6502_PeekStackReturnAddress
This commit is contained in:
parent
9e55613a5d
commit
64b4fb771a
|
@ -468,7 +468,11 @@ WORD _6502_GetStackReturnAddress ()
|
|||
return nAddress;
|
||||
}
|
||||
|
||||
// NOTE: nStack is both an input and output
|
||||
// NOTES: nStack is both an input and output;
|
||||
// If nStack is 0x1FF it WILL return overflow 0x200. Current callers are:
|
||||
// _6502_FindStackReturnAddress(), and
|
||||
// _6502_GetStackReturnAddress()
|
||||
// which DON'T return this overflow stack value to previous callers.
|
||||
//===========================================================================
|
||||
WORD _6502_PeekStackReturnAddress (WORD & nStack)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user