Code conversion apparatus
A code conversion and code technology, applied in program control devices, program control design, instruments, etc., can solve the problems of reduced hardware use efficiency, reduced development efficiency, reduced debugability, etc., so as to improve development efficiency, improve execution performance, reduce The effect of code size
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] Next, a compiling system according to Embodiment 1 of the present invention will be described with reference to the drawings. and, by figure 1 The above-mentioned compiling system is realized by executing the program on the computer shown.
[0039] figure 2 It is a structural block diagram of the compiling system 1 according to the first embodiment of the present invention.
[0040] The compilation system 1 includes a driver 2 , a compiler 3 , an assembler 4 and a linker 5 .
[0041] The driver 2 has a function of starting the compiler 3 , assembler 4 , and linker 5 , which are other components of the compile system 1 , with appropriate options according to options specified by the user. For example, the driver 2 may start only the assembler 4 or only the assembler 4 and the linker 5 .
[0042] The compiler 3 receives the C language program 101 written by the programmer as an input, converts the C language program 101 into an internal intermediate representation, o...
Embodiment 2
[0095] Next, a compiling system according to Embodiment 2 of the present invention will be described. Most of the configuration of the compiling system according to the second embodiment is the same as that of the compiling system 1 pertaining to the first embodiment, but the method for the virtual instruction of the assembler 4 is different. Hereinafter, the difference will be mainly explained.
[0096] Figure 10 An example of compiler-generated assembler 102 is shown.
[0097] exist Figure 10 Among them, the line of (a) is the dummy command "expandinst_without_warning" unique to this embodiment. This dummy instruction is an instruction to "execute expansion processing of a numeric operand without issuing a warning at the time of linking". The compiler 3 outputs this dummy instruction at the beginning of the assembler when generating the assembler.
[0098] Figure 11 An example in which a programmer writes an assembler 103 is shown.
[0099] exist Figure 11 Among th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 