发明名称 PROCESS FOR CONVERTING CODE
摘要 Relative to the prior art, the invention concerns an improved process for conversion of assembler source code (AC1) which was written for source hardware (M1) into program code (PC2) which is capable of running on target hardware (M2) with a different computer architecture. An assembler (ASS) generates object code (OC1) for the source hardware (M1) out of the assembler source code (AC1), and a code transformer (CT) generates corresponding object code (OC2) for the target hardware (M2) as well as an address transformation table (TTAB), which establishes the relationship between addresses (A) in the object code (OC1) for the source hardware (M1) and addresses (A') in the object code (OC2) for the target hardware (M2). The program code (PC2) for the target hardware (M2) is produced from a combination of these two object codes (OC1, OC2), the address transformation table (TTAB), as well as an emulator (E), which can emulate the object code (OC1) for the source hardware (M1). The address references used in the transformed object code (OC2) relate to the object code (OC1) of the source hardware (M1) and, when the transformed program (PC2) is run, are converted into the corresponding references to addresses in object code (OC2) for the target hardware (M2) with the help of the address transformation table (TTAB). Commands or command sequences which are not completely defined until the program code (PC2) is executed or only appear in the form of data definitions in the assembler source code (AC1) are transformed in calls to the emulator (E) which emulates the corresponding object code (OC1)for the source hardware (M1).
申请公布号 WO9742574(A1) 申请公布日期 1997.11.13
申请号 WO1997DE00900 申请日期 1997.05.02
申请人 SIEMENS NIXDORF INFORMATIONSSYSTEME AG;STADEL, MANFRED 发明人 STADEL, MANFRED
分类号 G06F9/318;G06F9/45;G06F9/455;(IPC1-7):G06F9/45 主分类号 G06F9/318
代理机构 代理人
主权项
地址