首页> 外国专利> A method for converting of instructions having base register storing - relative addressing in the case of an emulation

A method for converting of instructions having base register storing - relative addressing in the case of an emulation

机译:一种具有基址寄存器存储的指令转换方法-在仿真情况下的相对寻址

摘要

In the case of the method is employed origin processor addresses a first length of n bits to the addressing in a cyclic address space a and a target processor addresses a second length of m bits, wherein the second length m is greater than the first length n. in the case of the origin processor, in the case of the base register storing - relative addressing distance values between a lower value min and an upper value max, permissible. For the program code is to be emulated during the origin processor the scope of the address space is limited in such a way that the reaction described in the following steps of address operands to semantically equivalent behavior leads to the target processor. First, then a projected address on the target processor determined by forming the sum of the contents of the base register (r) and a distance value (d) which is greater than or equal to a first furthermore, (d1) a first base register storing - relative instruction and is less than or equal to the difference (max - min), and projecting the sum to a cyclic address space with the addresses of a length of n bits. For the conversion of the base register storing - relative instructions are addresses, as the sum of the calculated projected address and the respective distance values (d1, D2) the instructions minus the distance value d determines.
机译:在采用该方法的情况下,源处理器将n位的第一长度寻址到循环地址空间a中的寻址,而目标处理器对m位的第二长度进行寻址,其中第二长度m大于第一长度n 。在源处理器的情况下,在基址寄存器存储的情况下-允许在下限值min和上限值max之间的相对寻址距离值。对于要在源处理器期间进行仿真的程序代码,地址空间的范围受到限制,以致以下地址操作数步骤中描述的语义等效行为的反应会导致目标处理器。首先,然后是通过形成基址寄存器(r)的内容与距离值(d)的总和而确定的目标处理器上的投影地址,该距离值大于或等于第一个,(d 1 < / Sub>)的第一个基址寄存器,存储-相对指令且小于或等于差(max-min),并将和投影到具有n位长度的地址的循环地址空间中。对于基本寄存器存储的转换-相对指令为地址,这些指令为计算出的投影地址与相应距离值(d 1 ,D 2 )之和减去距离值d确定。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号