1. A microprocessor, comprising: a control unit for assigning an instruction; a plurality of execution units connected to the control unit; and a temperature sensor unit for acquiring temperature information of each of the plurality of execution units, wherein the control unit selects one or more execution units according to the temperature information and assigns the instruction to one or more plurality of execution units.