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

Function CmdBookmarkGoto

source/Debugger/Debug.cpp:674–690  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

672
673//===========================================================================
674Update_t CmdBookmarkGoto ( int nArgs )
675{
676 if (! nArgs)
677 return Help_Arg_1( CMD_BOOKMARK_GOTO );
678
679 int iBookmark = g_aArgs[ 1 ].nValue;
680
681 WORD nAddress;
682 if (_Bookmark_Get( iBookmark, nAddress ))
683 {
684 g_nDisasmCurAddress = nAddress;
685 g_nDisasmCurLine = 0;
686 DisasmCalcTopBotAddress();
687 }
688
689 return UPDATE_DISASM;
690}
691
692
693//===========================================================================

Callers 1

DebuggerProcessKeyFunction · 0.85

Calls 3

Help_Arg_1Function · 0.85
_Bookmark_GetFunction · 0.85
DisasmCalcTopBotAddressFunction · 0.85

Tested by

no test coverage detected