Added basic addr functionality p_resolve()