首页> 外国专利> Intermediate instruction execution processor which resolves symbolic references without modifying intermediate instruction code

Intermediate instruction execution processor which resolves symbolic references without modifying intermediate instruction code

机译:中间指令执行处理器,无需修改中间指令代码即可解析符号引用

摘要

A processor is provided with a decoder, a memory connected to the decoder and an execution stage connected to the decoder. The decoder receives each instruction. Each time the decoder receives an instruction, if the instruction contains a symbolic reference, the decoder determines whether or not the symbolic reference has been resolved into a numeric operand. If the symbolic reference has been resolved into a numeric operand, the memory retrieves, from a numeric reference table, a numeric operand to which the symbolic reference has been resolved. The execution stage then executes the instruction on the retrieved numeric operand in place of the symbolic reference. If the symbolic reference has not been resolved into a numeric operand, then the execution stage searches a data object, which relates each symbolic reference to a memory slot in which a corresponding numeric operand is stored, for a numeric reference relating the symbolic reference to a corresponding numeric operand. The memory then retrieves the numeric operand, that corresponds to the unresolved symbolic reference, from the memory slot indicated by the numeric reference of the data object. The memory stores the retrieved numeric operand in the numeric reference table maintained therein. The execution stage executes the instruction on the retrieved numeric operand in place of the symbolic reference of the instruction and indicates to the decoder that the symbolic reference is resolved. “Resolved indications,” which each indicates whether or not a specific, respective symbolic reference is resolved, can be stored in a numeric reference buffer and accessed using the instruction fetch address as an index. The numeric reference table can also be stored in the numeric reference buffer and accessed (indexed) the same way.
机译:处理器具有解码器,连接到解码器的存储器和连接到解码器的执行级。解码器接收每个指令。每次解码器接收到一条指令时,如果该指令包含符号引用,则解码器将确定符号引用是否已解析为数字操作数。如果符号引用已解析为数字操作数,则内存将从数字引用表中检索符号引用已解析为的数字操作数。然后,执行阶段将在检索到的数字操作数上执行指令,以代替符号引用。如果该符号引用尚未解析为数字操作数,则执行阶段将搜索一个数据对象,该数据对象将每个符号引用与存储相应数字操作数的内存插槽相关联,以获取将符号引用与内存相关的数字引用。相应的数字操作数。然后,存储器从数据对象的数字引用所指示的存储插槽中检索与未解析的符号引用相对应的数字操作数。存储器将检索到的数字操作数存储在其中维护的数字参考表中。执行阶段代替指令的符号引用在检索到的数字操作数上执行指令,并向解码器指示符号引用已解析。 “已解决的迹象”可以将每个表示一个特定的符号参考是否解析的参数存储在数字参考缓冲区中,并使用指令提取地址作为索引进行访问。数字参考表也可以存储在数字参考缓冲区中,并以相同的方式访问(索引)。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号