Fix issues with the lpm instruction