Please use this identifier to cite or link to this item:
Title: The design and implementation of a C compiler for SAFA
Keywords: Compiler, Stack Machine, C Language, SAFA
Issue Date: 6-Jun-2005
Citation: GAO YUGUANG (2005-06-06). The design and implementation of a C compiler for SAFA. ScholarBank@NUS Repository.
Abstract: SAFA (Stack And Frame Architecture) is designed aiming to overcome some of the disadvantages of a stack based architecture, e.g. array manipulation support. SAFA program is composed of stack and frame manipulation instructions. The thesis concerns on the design and implementation of a C to SAFA compiler to meet the need to execute C on SAFA. We analyzed the compiler theories and methods, researched on the compiler design to establish a compiler framework, and implemented the compiler by C. Particularly, we focus much on the differences between C to SAFA compiler and common C compilers. Performance evaluation on the frame registers design and the compiler performance on code size and effectiveness are also done in the thesis.
Appears in Collections:Master's Theses (Open)

Show full item record
Files in This Item:
File Description SizeFormatAccess SettingsVersion 
GAO YUGUANG.pdf353.56 kBAdobe PDF



Page view(s)

checked on Apr 20, 2019


checked on Apr 20, 2019

Google ScholarTM


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.