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

Function ArgsGetValue

source/Debugger/Debugger_Parser.cpp:202–218  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

200
201//===========================================================================
202bool ArgsGetValue ( Arg_t *pArg, WORD * pAddressValue_, const int nBase )
203{
204 _ASSERT(pArg);
205 if (pArg == NULL)
206 return false;
207
208 char *pSrc = & (pArg->sArg[ 0 ]);
209 char *pEnd = NULL;
210
211 if (pAddressValue_)
212 {
213 *pAddressValue_ = (WORD)(strtoul( pSrc, &pEnd, nBase) & _6502_MEM_END);
214 return true;
215 }
216
217 return false;
218}
219
220//===========================================================================
221bool ArgsGetImmediateValue ( Arg_t *pArg, WORD * pAddressValue_ )

Callers 4

ArgsGetImmediateValueFunction · 0.70
ArgsCookFunction · 0.70
AssemblerGetArgsFunction · 0.70
ExecuteCommandFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected