Summary: | 碩士 === 國立中正大學 === 資訊工程所 === 93 === As the developing of embedded systems, specific-purpose devices and portable devices, each hardware vendor proposes different hardware architectures. Because of the difference of hardware, the software resource sharing and portability become an important problem.
In this paper, we aimed at solving this issue by developing a software tool to translate the code of x86 instruction set architecture (ISA) to those of ARM ISA with GCC(GNU Compiler Collection). GCC is the well-known compiler and supports lots of hardware. GCC also do some optimization during generating code. The goal of our research is to find the way to use GCC during generating target code. This method not only saves the half work of translation, but also gets easily for translating to different hardware, which is supported by GCC. During the translation, the translated code can be optimization by using GCC’s function.
|