izpis_h1_title_alt

Prevajalnik za programski jezik C za računalnik SIC/XE : diplomsko delo
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
Typology:2.11 - Undergraduate Thesis
Organization:FRI - Faculty of Computer and Information Science
Publisher:[K. Košir]
Year:2015
Number of pages:56 str.
PID:20.500.12556/RUL-72318 This link opens in a new window
COBISS.SI-ID:1536484291 This link opens in a new window
Publication date in RUL:11.09.2015
Views:5337
Downloads:483
Metadata:XML DC-XML DC-RDF
:
Copy citation
Share:Bookmark and Share

Licences

License:GPL 3.0, GNU General Public License, version 3
Link:https://www.gnu.org/licenses/gpl-3.0.html
Description:You may copy, distribute and modify the software as long as you track changes/dates of in source files and keep modifications under GPL. You can distribute your application using a GPL library commercially, but you must also provide the source code. GPL 3 tries to close some loopholes in GPL 2.

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