use reg for r, s