Alternate execution and interpretation of computer program having code at unknown locations due to transfer instructions having computed destination addresses
Abstract
It is not always possible or practical to fully translate an original computer program because execution transfer instructions may have computed destination addresses that cannot be determined until program execution. Instead, a digital computer alternately executes a translated program that is a partial translation of the original computer program, and interprets the original program. When execution of the translated program specifies a transfer to an untranslated portion of the original program, execution is transferred to an interpreter to interpret the original program. When interpretation of the original program reaches a portion of the original program having been translated, execution is transferred to the translated program. In a preferred embodiment, the original program is partially translated by automatically generating a flowgraph, and using the flowgraph to analyze the program to provide information about blocks of instructions in the flowgraph. An execution transfer instruction having a computed destination address that cannot be determined prior to execution is translated as an execution transfer to the interpreter for beginning interpretation at the computed destina
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 103.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of operating a digital computer for partially translating an original computer program to provide a translated program, and executing said translated program with an interpreter to interpret untranslated portions of said original computer program, said original computer program including program instructions at respective program addresses in said original computer program, the program addresses of some of said program instructions being unknown when translating said original computer program because said program instructions include execution transfer instructions specifying transfer
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 103 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (5)
- Banning, "The XDOS Binary Code Conversion System," COMPCON 89 (Sep. 27, 1989) San Francisco, CA, pp. 282-287.
- Banning, The XDOS Binary Code Conversion System, COMPCON 89 (Sep. 27, 1989) San Francisco, CA, pp. 282 287.
- Bergh et al., "HP 3000 Emulation of HP Precision Architecture Computers," Hewlett-Packard Journal, Dec. 1987, pp. 87-89.
- Bergh et al., HP 3000 Emulation of HP Precision Architecture Computers, Hewlett Packard Journal, Dec. 1987, pp. 87 89.
- Beyond RISC An Essential Guide to Hewlett Packard Precision Architecture, Wayne E. Holt, Ed., 1988, Software Research Northwest, Inc., Vashon Isalnd, WA, pp. 225 238.