An electronic device comprising: a processor including a plurality of cores having different performance levels; and a memory connected to the processor, wherein the memory stores instructions which, when executed, cause the processor to: based on an abort of an execution of a first instruction in a first core among the plurality of cores, determine whether a second core capable of executing the first instruction exists in the plurality of cores; based on determining (920, yes) that a second core capable of executing the first instruction exists in the plurality of cores, determine whether the second core is in a state of waiting to perform a task; based on determining that the second core is in a state of waiting to perform a task, transfer the execution of the first instruction to the second core, else: determine a number of previous emulations associated with the first instruction; based on determining that the number of previous emulations associated with the first instruction is equal to a predetermined threshold, transfer the execution of the first instruction to the second core; and based on determining (960, no) that the number of previous emulations associated with the first instruction is less than the predetermined threshold, emulate the first instruction into a second instruction executable in the first core. a processor including a plurality of cores having different performance levels; and a memory connected to the processor, wherein the memory stores instructions which, when executed, cause the processor to: based on an abort of an execution of a first instruction in a first core among the plurality of cores, determine whether a second core capable of executing the first instruction exists in the plurality of cores; based on determining (920, yes) that a second core capable of executing the first instruction exists in the plurality of cores, determine whether the second core is in a state of waiting to perform a task; based on determining that the second core is in a state of waiting to perform a task, transfer the execution of the first instruction to the second core, else: determine a number of previous emulations associated with the first instruction; based on determining that the number of previous emulations associated with the first instruction is equal to a predetermined threshold, transfer the execution of the first instruction to the second core; and based on determining (960, no) that the number of previous emulations associated with the first instruction is less than the predetermined threshold, emulate the first instruction into a second instruction executable in the first core. based on an abort of an execution of a first instruction in a first core among the plurality of cores, determine whether a second core capable of executing the first instruction exists in the plurality of cores; based on determining (920, yes) that a second core capable of executing the first instruction exists in the plurality of cores, determine whether the second core is in a state of waiting to perform a task; based on determining that the second core is in a state of waiting to perform a task, transfer the execution of the first instruction to the second core, else: determine a number of previous emulations associated with the first instruction; based on determining that the number of previous emulations associated with the first instruction is equal to a predetermined threshold, transfer the execution of the first instruction to the second core; and based on determining (960, no) that the number of previous emulations associated with the first instruction is less than the predetermined threshold, emulate the first instruction into a second instruction executable in the first core. determine a number of previous emulations associated with the first instruction; based on determining that the number of previous emulations associated with the first instruction is equal to a predetermined threshold, transfer the execution of the first instruction to the second core; and based on determining (960, no) that the number of previous emulations associated with the first instruction is less than the predetermined threshold, emulate the first instruction into a second instruction executable in the first core.