Fixed a memory bug when computing heading.
Fixed #3, use $sp instead of $rsp as stack in heading.