Instructions to load and store containing words in a computer system emulator with host word size larger than that of emulated machine
    1.
    发明授权
    Instructions to load and store containing words in a computer system emulator with host word size larger than that of emulated machine 有权
    在计算机系统仿真器中加载和存储包含字词的指令,其主机字大小于仿真机的大小

    公开(公告)号:US07406406B2

    公开(公告)日:2008-07-29

    申请号:US11006414

    申请日:2004-12-07

    IPC分类号: G06F9/44 G06F9/455 G06F12/00

    摘要: Two unique instructions for the instruction set of a target 36-bit machine which is emulated on a host 64-bit machine are provided in order to achieve visibility, to an emulated application program, of a “containing” word stored in the memory of the host machine. A “LOAD64” instruction loads the emulator memory location representing an emulated “Q” (supplementary accumulator) register with the “normal” 36-bits of the containing word. At the same time, the “upper” 28 bits of the 64-bit containing word is copied into the emulator memory location representing an emulated “A” (accumulator) register. Thus, the emulated 36-bit machine “sees” and can examine the 64-bit word in its entirety. A “Store64” instruction stores the emulated “Q” register contents into the lower 36-bits of the 64-bit containing word, and at the same time stores the lower 28 bits of the emulated “A” register contents into the upper 28 bits of the 64-bit containing word.

    摘要翻译: 提供了用于在主机64位机器上仿真的目标36位机器的指令集的两个唯一指令,以便实现模拟应用程序对存储在存储器中的“包含”字的可见性 主机。 “LOAD64”指令将模拟器存储位置加载到包含字的“正常”36位的模拟“Q”(补充累加器)寄存器中。 同时,64位包含字的“上”28位被复制到表示仿真“A”(累加器)寄存器的仿真器存储单元中。 因此,仿真的36位机器“看到”并且可以检查64位字的整体。 “Store64”指令将模拟的“Q”寄存器内容存储到64位包含字的低36位,同时将仿真的“A”寄存器内容的低28位存储到高位28位 的64位包含字。