ePrints.FRI - University of Ljubljana, Faculty of Computer and Information Science

C programming language compiler for the SIC/XE computer

Klemen Košir (2015) C programming language compiler for the SIC/XE computer. EngD thesis.

Download (300Kb)


    The goal of this thesis was to develop a C programming language to assembly language compiler for the hypothetical SIC/XE computer. The compiler also contains an assembler that uses the generated assembly code to create executable object files. This thesis is separated into two parts. The theoretical part consists of a general overview of compilers and the C programming language, and a detailed description of the SIC and SIC/XE computer architectures. The practical part details the structure of the implemented compiler and assembler, and the function of individual phases. We used lexical and syntactic rules of the C programming language to analyze the source code of the input program, and the specification of the SIC/XE computer and its object files to generate the assembly code. In the final part of the thesis, we presented the difficulties we encountered, and possible improvements to the compiler.

    Item Type: Thesis (EngD thesis)
    Keywords: compilers, C programming language, grammar, SIC/XE computer, assembly language, object files
    Number of Pages: 56
    Language of Content: Slovenian
    Mentor / Comentors:
    Name and SurnameIDFunction
    doc. dr. Tomaž Dobravec258Mentor
    Link to COBISS: http://www.cobiss.si/scripts/cobiss?command=search&base=51012&select=(ID=1536484291)
    Institution: University of Ljubljana
    Department: Faculty of Computer and Information Science
    Item ID: 3055
    Date Deposited: 08 Sep 2015 13:40
    Last Modified: 18 Sep 2015 11:54
    URI: http://eprints.fri.uni-lj.si/id/eprint/3055

    Actions (login required)

    View Item