The invention discloses a binary
system translation method and device based on the
execution tree depth. The method comprises the steps that when a super block begins to be constructed, the
execution tree depth is initialized to be zero, a preset
execution tree depth threshold value is obtained, translation is started from a
basic block where a preset initial address is located, and in the translating process, if a current instruction of the translated
basic block is a direct skip instruction, a
basic block which the direct skip instruction enters is translated; if the current instruction of the translated basic block is a condition skip instruction, a basic block after the condition skip instruction skips and the next basic block of the condition skip instruction are translated, and one is added into the execution tree depth; if the current instruction of the translated basic block is a function call instruction, functions corresponding to the function call instruction are translated, one is added into the execution tree depth, when the execution tree depth reaches the execution tree depth threshold value, translation is finished, and all the translated basic blocks form the super block. The method and the device can promote the performance of an execution translation program.