Method and apparatus for translating between source and target code
Abstract
An interactive translation system ( 10 ) includes a front end ( 40 ), a back end ( 42 ), and a user interface ( 16 ). The front end ( 40 ) is operable to identify source elements ( 86 ) in a source file ( 24 ). The back end ( 42 ) is operable to generate a translation file having translation elements corresponding to translation of said identified source elements ( 86 ) and having an interface ( 16 ) for receiving inputs for modifying said translation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 59.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for translating a source file for a source processing unit to a target file for a target Processing unit, the method comprising: reading in a source instruction; matching an opcode of a source instruction to an opcode of a target instruction by comparing the source opcode to possible target opcodes; converting the operand of the source instruction by comparing the operand of the source instruction represented by a generic expression to the generic expression related to a target operand and combining the target opcode and the target operand to form a translated target instruction.
- Claim 2Depends on #1
The method of claim 1 , wherein the generic expression is a tree diagram representation of an operand.
- Claim 3Depends on #1
The method of claim 1 , wherein the step of matching an opcode further comprise
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 59 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (5)
- TITLE: A language for writing code generators, author: C. W. Fraser, ACM, 1989.*
- TITLE: A VLIW architecture for a trace scheduling compiler, author: Colwell et al, ACM, 1987.*
- TITLE: Common intermediate design language, author: Graves, H.; Polak, W.; IEEE, 1992.
- TITLE: Design of instruction set architectures for support of high-level languages author: Bose et al, ACM, 1984.*
- TITLE: Migrating a CISC computer family onto RISC via object code translation, author: Andrews et al, ACM, 1992.*