IR->SSM: fixes the arguments to ldmh. Updates stackptr in list thingies