1. A method of modifying a code sequence for a processor, comprising: identifying a set of one or more target instructions in the code sequence; selecting a replacement instruction that includes a set of replacement instruction parts, wherein a length of each of the replacement instruction parts corresponds to a minimum instruction length for an instruction set of the processor, and wherein the replacement instruction parts include a first instruction type and one or more second instruction types that are each configured as exception instructions if processed in isolation from the first instruction type; and substituting the replacement instruction for the set of one or more target instructions in the code sequence for processing by the processor.