izpis_h1_title_alt

Prevajalnik za programski jezik C za računalnik SIC/XE
ID Košir, Klemen (Author), ID Dobravec, Tomaž (Mentor) More about this mentor... This link opens in a new window

.pdfPDF - Presentation file, Download (300,11 KB)
MD5: D231ECF0A7E9837BC2EBFDDE87F068E5

Abstract
Cilj tega diplomskega dela je bila izdelava prevajalnika programskega jezika C v zbirni jezik hipotetičnega računalnika SIC/XE. Prevajalnik vsebuje tudi zbirnik, ki iz prevedene zbirne kode ustvari izvedljive objektne datoteke. Diplomsko delo je razdeljeno na dva dela. Teoretični del na splošno predstavi prevajalnike in programski jezik C ter podrobno opiše arhitekturo računalnikov SIC in SIC/XE. V praktičnem delu smo spoznali strukturo izdelanega prevajalnika in zbirnika ter delovanje posameznih faz. Za analizo izvorne kode programov smo uporabili leksikalna in sintaksna pravila programskega jezika C, za generiranje zbirne kode pa specifikacije računalnika SIC/XE in njegovih objektnih datotek. V zaključnem delu smo si ogledali težave, s katerimi smo se srečali, in možne izboljšave prevajalnika.

Language:Slovenian
Keywords:prevajalniki, programski jezik C, gramatika, računalnik SIC/XE, zbirni jezik, objektne datoteke
Work type:Bachelor thesis/paper
Organization:FRI - Faculty of Computer and Information Science
Year:2015
PID:20.500.12556/RUL-72318 This link opens in a new window
Publication date in RUL:11.09.2015
Views:4648
Downloads:451
Metadata:XML RDF-CHPDL DC-XML DC-RDF
:
Copy citation
Share:Bookmark and Share

Secondary language

Language:English
Title:C programming language compiler for the SIC/XE computer
Abstract:
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.

Keywords:compilers, C programming language, grammar, SIC/XE computer, assembly language, object files

Similar documents

Similar works from RUL:
Similar works from other Slovenian collections:

Back