===========================================================================
| 200 | |
| 201 | //=========================================================================== |
| 202 | bool 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 | //=========================================================================== |
| 221 | bool ArgsGetImmediateValue ( Arg_t *pArg, WORD * pAddressValue_ ) |
no outgoing calls
no test coverage detected