Method for converting an object code into a program code
First Claim
1. A method for converting an object code for a source hardware into an equivalent program code compatible with a target hardware and that comprises a program part and a data part, comprising the steps of:
- analyzing, by a code transformer, each command of said object code for said source hardware;
generating a corresponding entry from said command of said object code in said program part of said the program code;
accepting a part of said object code for said source hardware into said data part of said program code wherein the part of said object code for said source hardware accepted into the data part of said program code corresponds to a data part of said object code for said source hardware;
generating a source code of a high-level programming language as a program part of said program code;
partially retaining access into said data structures of said object code for said source hardware that are contained in said data part of said program code in said source code; and
converting registers of said source hardware as variables of said high-level programming language.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for converting an object code (OC1) for a source hardware (M1) into an equivalent program code (PC2) that comprises a program part (PT2) and a data part (DT2), whereby a code transformer (CT) analyzes each command of the object code (OC1) for the source hardware (M) and generates at least one corresponding entry in the program part (PT2) of the program code (PC2) from it is developed in that at least one data part (DT1) of the object code (OC1) for the source hardware (M1) and at most the complete object code (OC1) for the source hardware (M1) is accepted into the data part (DT2) of the program code (PC2). Such a method is flexible and offers high efficiency both in the conversion as well as in the running of the converted program code (PC2).
36 Citations
10 Claims
-
1. A method for converting an object code for a source hardware into an equivalent program code compatible with a target hardware and that comprises a program part and a data part, comprising the steps of:
-
analyzing, by a code transformer, each command of said object code for said source hardware;
generating a corresponding entry from said command of said object code in said program part of said the program code;
accepting a part of said object code for said source hardware into said data part of said program code wherein the part of said object code for said source hardware accepted into the data part of said program code corresponds to a data part of said object code for said source hardware;
generating a source code of a high-level programming language as a program part of said program code;
partially retaining access into said data structures of said object code for said source hardware that are contained in said data part of said program code in said source code; and
converting registers of said source hardware as variables of said high-level programming language. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for converting an object code for a source hardware into an equivalent program code compatible with a target hardware and that comprises a program part and a data part, comprising the steps of:
-
analyzing, by a code transformer, each command of said object code for said source hardware;
generating a corresponding entry from said command of said object code in said program part of said the program code;
accepting a part of said object code for said source hardware into said data part of said program code wherein the part of said object code for said source hardware accepted into the data part of said program code corresponds to a data part of said object code for said source hardware;
generating a source code of a high-level programming language as a program part of said program code;
partially retaining access into said data structures of said object code for said source hardware that are contained in said data part of said program code in said source code;
wherein said method is utilized for converting non-privileged object code. - View Dependent Claims (10)
-
Specification