Translating x86 code to ARM code with GCC

碩士 === 國立中正大學 === 資訊工程所 === 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. I...

Full description

Bibliographic Details
Main Authors: Hsiu-Hua Ma, 馬秀華
Other Authors: Rong-Guey Chang
Format: Others
Language:en_US
Published: 2005
Online Access:http://ndltd.ncl.edu.tw/handle/29148308266141481409
Description
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.