Added virtual function to generate an instruction sequence to