fixed memory sp and pc relation