Patent ID: 6516295
Filing Date: 2003-02-04
Classification: G06F

Abstract:
A method for emulating a set of Target code instructions for a Target system by executing a plurality of Host instructions on a Host system, wherein:each of the set of Target code instructions has a corresponding code tag value, a code locator value, and word of Host memory; a first one of the set of Target code instructions is a first Target code instruction; said method comprising: A) testing the code tag value corresponding to a word of Host memory for membership in a first set of code tag values when performing a write operation to the word of Host memory; and B) modifying the code tag value corresponding to the word of Host memory to belong to a second set of code tag values when the code tag value corresponding to the first Target code instruction is determined in step (A) to be in the first set of code tag values, wherein: the code tag value in the second set of code tag values indicates that the Target code instruction corresponding to the word of Host memory is to be interpreted by an emulator.