Patent ID: 8392171

Claim:
A method for emulation of a target system on a host system, the method comprising: determining a first subset of registers of a set of registers of the target system, the first subset including one or more most frequently used registers; directly mapping the first subset of registers to a first group of registers of a host system processor; dynamically mapping a second subset of the set of registers of the target system to a second group of registers of the host system processor; and emulating the target system processor on the host system processor using the first and second groups of registers, wherein some of the registers in the set of registers of the target system processor are larger than the registers in the first and second groups of registers of the host system processor; and rotating the dynamic mapping of the registers in the second subset, wherein directly mapping the first subset of registers or dynamically mapping the second subset of registers includes dividing a larger-sized target system register into first and second fields and mapping first and second fields to different smaller registers on the host system, wherein the first and second fields are subdivisions of the larger-sized register.