Condition code flag emulation for program code conversion
    1.
    发明授权
    Condition code flag emulation for program code conversion 有权
    条件代码标志仿真程序代码转换

    公开(公告)号:US07331040B2

    公开(公告)日:2008-02-12

    申请号:US10361000

    申请日:2003-02-06

    IPC分类号: G06F9/45

    CPC分类号: G06F9/45537

    摘要: An emulator (30) allows subject code (10) written for a subject processor (12) having subject processor registers (14) and condition code flags (16) to run in a non-compatible computing environment (2). The emulator (30) identifies and records parameters of instructions in the subject code (10) that affect status of the subject condition code flags (16). Then, when an instruction in the subject code (10) is encountered, such as a branch or jump, that uses the flag status to make a decision, the flag status is resolved from the recorded instruction parameters. Advantageously, emulation overhead is substantially reduced.

    摘要翻译: 仿真器(30)允许为具有主体处理器寄存器(14)和条件代码标志(16)的主题处理器(12)编写的对象代码(10)在不兼容的计算环境(2)中运行。 仿真器(30)识别并记录影响对象条件码标志(16)的状态的主题代码(10)中的指令的参数。 然后,当遇到使用标志状态作出决定的诸如分支或跳转的主题代码(10)中的指令时,从记录的指令参数中解析标志状态。 有利地,仿真开销显着降低。