首页> 外国专利> METHODS FOR CONVERTING INSTRUCTIONS WITH BASE REGISTER-RELATIVE ADDRESSING IN AN EMULATION

METHODS FOR CONVERTING INSTRUCTIONS WITH BASE REGISTER-RELATIVE ADDRESSING IN AN EMULATION

机译:仿真中基于基本寄存器的地址转换指令的方法

摘要

An original processor uses addresses with a first length of n bits for addressing in a cyclical address space and a target processor uses addresses with a second length of m bits, where the second length m is greater than the first length n. In the original processor, distance values that lie between a lower value min and an upper value max are permissible for the base register-relative addressing. The supported address space on the original processor for the code to be emulated is limited in such a manner that the conversion of address operands as described in the following steps leads to semantically equivalent behavior on the target processor. A projected address on the target processor is initially determined by forming the sum of the content of the base register (R) and an offset (D) that is greater than or equal to a first offset (D1) of a base register-relative instruction and less than the difference (max−min), and projecting the sum onto a cyclical address space with addresses having a length of n bits. Addresses for converting the base register-relative instructions are determined from the calculated projected address and the respective distance values (D1, D2) of the instructions minus the offset D.
机译:原始处理器使用第一位长度为n位的地址在循环地址空间中进行寻址,而目标处理器使用第二位长度为m位的地址,其中第二长度m大于第一长度n。在原始处理器中,相对于基址寄存器的寻址,允许在最小值min和最大值max之间的距离值。原始处理器上要仿真的代码所支持的地址空间受到以下方式的限制:以下步骤中描述的地址操作数的转换会导致目标处理器在语义上等效。通过形成基址寄存器(R)和大于或等于第一偏移量(D 1 )的偏移量(D)之和,初步确定目标处理器上的投影地址。 )相对于基址寄存器的指令)且小于差值(max-min),并将和投影到地址长度为n位的循环地址空间中。从计算的投影地址和相应的指令距离值(D 1 ,D 2 )减去偏移量D来确定用于转换基本寄存器相对指令的地址。

著录项

  • 公开/公告号US2011231179A1

    专利类型

  • 公开/公告日2011-09-22

    原文格式PDF

  • 申请/专利权人 MANFRED STADEL;

    申请/专利号US201113044832

  • 发明设计人 MANFRED STADEL;

    申请日2011-03-10

  • 分类号G06F9/455;

  • 国家 US

  • 入库时间 2022-08-21 18:14:20

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号