cpu: consistently use $sp and $lr