MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / CmdCursorJumpRetAddr

Function CmdCursorJumpRetAddr

source/Debugger/Debug.cpp:3633–3650  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

3631
3632//===========================================================================
3633Update_t CmdCursorJumpRetAddr (int nArgs)
3634{
3635 WORD nAddress = _6502_GetStackReturnAddress();
3636 g_nDisasmCurAddress = nAddress;
3637
3638 if (CURSOR_ALIGN_CENTER == nArgs)
3639 {
3640 WindowUpdateDisasmSize();
3641 }
3642 else
3643 if (CURSOR_ALIGN_TOP == nArgs)
3644 {
3645 g_nDisasmCurLine = 0;
3646 }
3647 DisasmCalcTopBotAddress();
3648
3649 return UPDATE_ALL;
3650}
3651
3652
3653//===========================================================================

Callers 1

DebuggerProcessKeyFunction · 0.85

Calls 3

WindowUpdateDisasmSizeFunction · 0.85
DisasmCalcTopBotAddressFunction · 0.85

Tested by

no test coverage detected