摘要 |
<p>An instruction emulation system translates target instructions into emulation instruction for execution by a host processor. A jump table has pointer entries employed to locate, in a translation instruction memory, sets of translating instruction for generating emulation instructions executable by the host for each of the differing types of target instructions. In one embodiment, each of pointer entries in the jump table has an entry length which is no greater than the shortest target instruction length, thereby enabling the jump table to handle target instructions of non-uniform instruction length. For another embodiment in which the target instructions comprise blocks of target instructions, including signal-handling target instructions, the jump table is augmented by a jump table shadow memory which saves memory requirements for code complication. In another embodiment, the jump table memory is partitioned into segments corresponding to the blocs stored in the target instruction memory. Selected ones of the segments of the jump table memory are uncompacted in accordance with a recent utilization criteria and non-selected ones of the segments are compacted.</p> |