Assembler for different operating systems (OSes) and assembly transplantation method

An assembler and assembly technology, applied in the direction of instruments, memory systems, program control design, etc., can solve problems such as affecting development efficiency and cost, large time cost, inability to obtain evaluation data, etc., to reduce workload and save development time. , the effect of reducing costs

Inactive Publication Date: 2015-04-08
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Developers of mobile devices often need to migrate a piece of assembler program with good performance to other operating systems for use. At this time, their needs often have two aspects: one is to be able to efficiently transplant the assembler program in the original operating system to the target operating system , that is to do as little work as possible to complete the assembly transplantation between systems; the second is the optimization inheritance from the source operating system to the target operating system, that is, the good performance of the assembler program in the source system can be reflected in the new platform , however, in the process of assembly and transplantation of the actual embedded platform, the above two requirements are difficult to be met. This is because when the assembler is transplanted from the source system to the target system, different operating systems and different compilers lead to different compilations. As a result, it takes a lot of time for developers to manually solve these problems, and it is not easy to solve these problems
[0004] For hardware devices with the same processor architecture, the assembly compiled under the source operating system often cannot be directly compil...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Assembler for different operating systems (OSes) and assembly transplantation method
  • Assembler for different operating systems (OSes) and assembly transplantation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The specific implementation manners of the present invention will be described in detail below in conjunction with the drawings and embodiments.

[0044] The following is the overall process of the present invention, as figure 1 Shown:

[0045] Automatically converts source assemblies to runnable assemblies for different operating systems. Users can choose 32-bit or 64-bit instruction set to compile the source code into source assembly with the cross-compilation tool on linux, select the target operating system for mobile devices again, and the conversion options for different target operating systems provided by the assembler Convert, the assembler will automatically generate the assembly under the corresponding option according to the options provided by the user. According to the target operating system selected by the user and the options provided by the assembler, a runnable assembly is generated. The selected target operating system is different, the assembler o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an assembler for different OSes and an assembly transplantation method and relates to the field of computer code transplantation. The method comprises obtaining source codes, encoding the source codes and obtaining source assembly programs; selecting target OSes and converting the source assembly programs into target assembly programs in accordance with assembly formats according to the assembly formats of the target OSes; obtaining application program binary system interface specifications of the target OSes and converting target assembly programs into novel target assembly programs in accordance with the application program binary system interface specifications; for the target OSes, packaging the novel target assembly programs to complete assembly transplantation. By means of the assembler, executable assembly programs towards different target OSes can be converted, and accordingly, code transplantation difficulties caused by different OSes are overcome.

Description

technical field [0001] The invention relates to the field of computer code transplantation, in particular to an assembler oriented to different OS and a compilation transplantation method. Background technique [0002] In recent years, the development of mobile devices has made great progress, and they have also played an increasingly important role in people's lives. Executable code has also become the goal pursued by programmers. The design and development of high-level programming languages ​​(C / C++, Java) is simple and efficient. They are very effective in solving practical problems in engineering applications, but the optimization of high-level languages ​​still remains at the top-level design, and the optimization ability has certain limitations. High-level languages ​​change faster than low-level languages, and high-level languages ​​still have compatibility issues between high-level and low-level languages. [0003] Optimizing assembly is a difficult and highly ski...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/45
Inventor 吕方卢廷玉郭磊闫晓超黄磊李星刘颖付晓丽胡丹琪王晨曦
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products