Instruction boundary check and repeating state