break from loop after recognizing an encoding type for an instruction