Program code conversion
Abstract
A method of dynamic real time translation of first program code written for a first programmable machine into second program code (target code) for running on a second programmable machine employing run time generation of an intermediate representation of the first program code. Upon first encountering a given portion of program code, only the target code necessary to execute that portion of program code under a prevailing set of entry conditions is initially generated and stored. When the same portion of program code is again encountered, a determination is made as to whether intermediate representation corresponding to a second subsequent set of conditions has been generated. If not, the target code necessary to execute the same portion of program code under that second set of conditions is generated.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of executing target code by a processor of a second type, the method comprising: translating into the target code a first program code for a processor of a first type different from the second type, wherein the translating includes: decoding a sequence of instructions of the first program code without executing the sequence of instructions and forming a program code block of the first program code; generating an intermediate representation of the program code block; generating a target code block of the target code from said intermediate representation, wherein the target code is bina
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (26)
Non-Patent Literature (5)
- "Register Assignment Technique in Computer Emulation," IBM Technical Disclosure Bulletin.US.IBM. Corp. New York, V. 37, No. 2A, Feb. 1994, p. 157.
- Adl-Tabatabai A. R., et al., "Fast Effective Code Generation in a Just-in-Time Java Compiler," ACM Sigplan Notices, US, Association for Computing Machinery, NY, vol. 33, No. 5, May 1998, pp. 280-290.
- Afzal, T., et al., "Motorola PowerPC Migration Tools-Emulation and Translation," Digest of Papers of the Computer society Computer Conference Compcon, US, Los Alamitos, IEEE Comp. Soc. Press, vol. Conf. 41, Feb. 25-28, 1996 pp. 145-150.
- Aho, et al., "Chapter 10: Code Optimization," Compilers-Principles, Techniques, and Tools, 603-722 (1986).
- Aho, et al., "Chapter 9: Code Generation," Compilers-Principles, Techniques, and Tools, 522-584 (1986).