Tracking condition codes in translation code for different machi

Boots – shoes – and leggings

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

395500, 395709, 364DIG1, 3642804, 3642641, 3642473, 36422941, G06F 945, G06F 900

Patent

active

055985602

ABSTRACT:
A code translator, constructed similar to a compiler, accepts as an input to be translated the assembly code written for one architecture (e.g., VAX), and produces as an output object code for a different machine architecture (e.g., RISC). The input code is converted into an intermediate language, and a flow graph is constructed. The flow graph is referenced by a flow analyzer for recognizing certain architecture-specific and calling standard-specific coding practices or idioms that cannot be automatically converted, particularly relating to stack usage, register usage, condition codes, and passing arguments for procedure calls. By tracking stack usage within routines, the compiler can distinguish up-level stack and return address references from valid local references. Also, it can inform the user of stack misalignment, which has a severe performance penalty, and can detect code segments where different flow paths may result in different stack depths at runtime, which may indicate a source code error. Register usage is likewise tracked to determine which registers are destroyed by a routine, and generate routine prologue and epilogue code which performs register saves, as well as provide register "hints" to aid the user in adding an entry point declaration or documentation for the routine. The usage of condition codes is likewise tracked, by a backward walk through the flow graph, so that code to fabricate needed values is generated. In addition, all argument pointer based memory references in the input code is tracked to determine how the same argument reference may be made in the target environment.

REFERENCES:
patent: 4167778 (1979-09-01), Sipple
patent: 4642764 (1987-02-01), Auslander et al.
patent: 4667290 (1987-05-01), Goss et al.
patent: 4802091 (1989-01-01), Cocke et al.
patent: 4951195 (1990-08-01), Benson
patent: 5142681 (1992-08-01), Driscoll et al.
patent: 5159687 (1992-10-01), Richburg
Banning, "The XDOS Binary Code Conversion System", COMPCON 89, 27 Feb. '89, San Francisco, pp. 282-287.
Hunter et al, "DOS at RISC", Byte Magazine, vol. 14, No. 12, No. 1989, pp. 361-368.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Tracking condition codes in translation code for different machi does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Tracking condition codes in translation code for different machi, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Tracking condition codes in translation code for different machi will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-947801

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.