add missing end if to single cycle instruction stepping logic.