发明名称 Method and apparatus for converting software
摘要 A method, apparatus, and computer readable medium are provided. According to an embodiment of the invention, a method includes, translating source code written in a first language into source code written in an intermediary language. The method further includes converting the source code written in the intermediary language into source code written in a second language by applying contextual recognition and reconstruction to the source code written in the intermediary language to generate the source code written in the second language. The method further includes prompting a user to customize the conversion of the source code written in the intermediary language into the source code written in the second language.
申请公布号 US9081626(B2) 申请公布日期 2015.07.14
申请号 US201012772477 申请日期 2010.05.03
申请人 Renesas Electronics America Inc. 发明人 Hedley David;Rodriguez Mark
分类号 G06F9/45 主分类号 G06F9/45
代理机构 Campbell Stephenson LLP 代理人 Campbell Stephenson LLP
主权项 1. A method implemented by a computer system, the method comprising: the computer system translating source code written in a first assembly language for implementation by a Programmable Interface Controller (PIC) microcontroller into source code written in a pseudo assembly language; wherein the translating comprises converting a set of sequential instructions of the source code written in the first assembly language to a set of sequential instructions, respectively, written in the pseudo assembly language; the computer system converting the source code written in the pseudo assembly language into source code written in a second assembly language for implementation by a non-PIC microcontroller; wherein the converting the source code written in the pseudo assembly language further comprises; identifying a first source code segment written in the pseudo assembly language that includes a conditional statement for checking a status of a bit in a register of the PIC microcontroller;generating a first source code segment written in the second assembly language that implements an interrupt service routine for the non-PIC microcontroller in response to the identifying.
地址 Santa Clara CA US