Assembly language translator

Data processing: software development – installation – and managem – Software program development tool – Translation of code

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C717S152000, C717S152000

Reexamination Certificate

active

06317873

ABSTRACT:

TECHNICAL FIELD OF THE INVENTION
This invention is related in general to the field of computer applications. More particularly, the invention is related to a translator and method therefor for translating from a computer program in assembly language to a computer program in a high-level language, such as C.
BACKGROUND OF THE INVENTION
Computers can be programmed by applications written in many different types of computer languages. The earlier computer applications were typically written in assembly language, such as Z8000. More recently, the preference in programming languages is high-level languages such as C and C++, which are easier to understand, code, and debug because of their closer resemblance to English. Further, these high-level languages often possess other advantages such as portability to different computing platforms. Because a large volume of complex application programs deployed in many industries is already written in assembly languages, manually rewriting these programs in high-level languages would be extremely costly. Therefore, a more cost effective way to recode these application programs in high-level languages is desired.
SUMMARY OF THE INVENTION
Accordingly, there is a need for a translator that is capable of translating a program written in an assembly language to a high-level language such as C.
In accordance with the present invention, an assembly language to a high-level language translator is provided which eliminates or substantially reduces the disadvantages associated with prior systems and methods.
In one aspect of the invention, a computer-implemented method of translating an assembler program into a high-level language computer program is provided. The method includes receiving each line of the assembler program, parsing individual fields in each assembler program line, including an absolute line number and an opcode for an assembler instruction. Each assembler program line is then stored into a data structure such that each line is accessible and each field in each line is accessible, and the opcode of each assembler program line is parsed into individual digits. For each assembler program line, a decision tree is traversed in response to the value of each opcode digit to identify the corresponding assembler instruction. The assembler instruction is then translated to an equivalent set of code in the high-level computer language. The equivalent set of code for each assembler program line is generated and provided as output.


REFERENCES:
patent: 4656582 (1987-04-01), Chaitin et al.
patent: 5274818 (1993-12-01), Vasilevsky et al.
patent: 5287490 (1994-02-01), Sites
patent: 5307492 (1994-04-01), Bensen
patent: 5414855 (1995-05-01), West
patent: 5724590 (1998-03-01), Goettelmann et al.
patent: 5768564 (1998-06-01), Andrews et al.
patent: 5805893 (1998-09-01), Sproul et al.
patent: 5815719 (1998-09-01), Goebel
patent: 5920720 (1999-07-01), Toutonghi et al.
patent: 5933641 (1999-08-01), Ma
patent: 6002874 (1999-12-01), Bahrs et al.
patent: 6014517 (2000-01-01), Shagam et al.
patent: 6023583 (2000-02-01), Honda
patent: 6071317 (2000-06-01), Nagel
Wendt, “Fast code geneartion using automtically generated decision tree”, ACM SIGPLAN, pp 9-15, Jun. 1990.*
Morrisett et al., “From system F to typed assembly language”, ACM POPL, pp 85-97, Mar. 1998.*
Benitez et al, “A portable global optimizer and linker”, ACM SIGPLAN, pp 329-338, Jun. 1988.*
Proebsting et al, “Optimizing an ANSI C interpreter with superoperators”, ACM POLP, pp 322-332, Jan. 1995.

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

Assembly language translator does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Assembly language translator, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Assembly language translator will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2573041

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