D_BASE
digit = (digit * base) + ((*cp - 'A') + D_BASE);
digit = (digit * base) + ((*cp - 'a') + D_BASE);
int hex_ = 0, base = D_BASE;