izpis_h1_title_alt

Spletni prevajalnik jezika C za majhen učni mikroprocesor
ID BUKOVEC, BLAŽ (Author), ID Trost, Andrej (Mentor) More about this mentor... This link opens in a new window

.pdfPDF - Presentation file, Download (1,44 MB)
MD5: 0497F3B047CFDA6592FE055792EE859E
PID: 20.500.12556/rul/0d95bcda-a30a-4864-8024-ccf9081cc683

Abstract
Cilj diplomskega dela je bil izdelati prevajalnik iz programskega jezika C v zbirni jezik, ki deluje kot spletna stran v vsakem spletnem brskalniku brez namestitve dodatnih programov. Spletna stran omogoča tudi simulacijo programske in zbirne kode s prikazom trenutnega stanja v pomnilniku ciljnega sistema in možnostjo spreminjanja vhodnih signalov. Prevajalnik je v celoti napisan v programskih jezikih JavaScript, HTML in CSS. Zmogljivost prevajalnika je zaradi strukture ciljnega sistema omejena samo na osnovne funkcije. V uvodu so predstavljene zmogljivosti in omejitve prevajalnika ter razlike med obstoječimi prevajalniki. Sledi natančnejši opis delovanja prevajalnika, od zajema vhodne kode, vmesne obdelave in sintaktične analize do izdelave izhodne kode. Nato sta podrobneje opisana uporabniški vmesnik in delo s simulatorjem. V zadnjem delu pa je opisanih še nekaj funkcij, ki so dodane, da omogočajo razhroščevanje in iskanje morebitnih napak prevajalnika. Z izdelavo prevajalnika se bo olajšalo delo študentov pri programiranju in testiranju 12-bitnega mikrokrmilnika, ki ga samo izdelajo v vezju FPGA, v okviru laboratorijskih vaj pri predmetu Načrtovanje digitalnih elektronskih sistemov.

Language:Slovenian
Keywords:prevajalnik, simulator, JavaScript, programski jezik C, zbirnik
Work type:Bachelor thesis/paper
Organization:FE - Faculty of Electrical Engineering
Year:2017
PID:20.500.12556/RUL-92991 This link opens in a new window
Publication date in RUL:12.07.2017
Views:4180
Downloads:750
Metadata:XML RDF-CHPDL DC-XML DC-RDF
:
Copy citation
Share:Bookmark and Share

Secondary language

Language:English
Title:Web C compiler for small educational microprocessor
Abstract:
The aim of the thesis was to write a program which translates C programming language to an assembly language and runs as a website in every browser without the need to install any additional program installation. The website also features a simulation of the program and assembly code and displays the current memory state of the target system. It also enables changes to the input signals during the simulation. The compiler is written entirely in programming languages JavaScript, HTML and CSS. Due to the structure of the target system, the capability of the compiler is limited to its basic functions. Introduction presents the capabilities and limitations of the compiler, and differences from the existing compilers. A more detailed description of the compiler's performance follows; from lexical analysis, through code preprocessing and syntactic analysis, to the output code generation. User interface and working with the simulator are then described in detail. The last part contains descriptions of certain functions, added to allow debugging and searching for possible errors of the compiler. The compiler will ease the work of students when they program and test the 12-bit microcontroller, which they make themselves in the FPGA circuit as a Digital Electronic Systems Design laboratory assignment.

Keywords:compiler, simulator, JavaScript, C programming language, assembler

Similar documents

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

Back