[PATCH 3/4] Get CP_RPTR from register instead of shadow memory