diplomsko delo
Klemen Košir (Author), Tomaž Dobravec (Mentor)

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.

Keywords

prevajalniki;programski jezik C;gramatika;računalnik SIC/XE;zbirni jezik;objektne datoteke;računalništvo;računalništvo in informatika;univerzitetni študij;diplomske naloge;

Data

Language: Slovenian
Year of publishing:
Typology: 2.11 - Undergraduate Thesis
Organization: UL FRI - Faculty of Computer and Information Science
Publisher: [K. Košir]
UDC: 004.4'42(043.2)
COBISS: 1536484291 Link will open in a new window
Views: 1753
Downloads: 234
Average score: 0 (0 votes)
Metadata: JSON JSON-RDF JSON-LD TURTLE N-TRIPLES XML RDFA MICRODATA DC-XML DC-RDF RDF

Other data

Secondary language: English
Secondary title: C programming language compiler for the SIC/XE computer
Secondary 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.
Secondary keywords: compilers;C programming language;grammar;SIC/XE computer;assembly language;object files;computer science;computer and information science;diploma;
File type: application/pdf
Type (COBISS): Bachelor thesis/paper
Study programme: 1000468
Embargo end date (OpenAIRE): 1970-01-01
Thesis comment: Univ. v Ljubljani, Fak. za računalništvo in informatiko
Pages: 56 str.
ID: 8900521
Recommended works:
, diplomska naloga univerzitetnega študijskega programa