摘要 |
A method of simulating computation instructions for an instruction set simulator. First, a computation instruction is received by the instruction set simulator. Then, an operator and at least one operand of the computation instruction are stored to a data structure, and the computation instruction is simulated without computing flags. If a flag determination is received for simulation, the operator and the operand are read from the data structure. Then, a flag used in the flag determination is computed according to the operator and the operand, and the flag determination is simulated according to the flag.
|