Insert instructions that copy $sp to or from $fp at the right locations.