Dynamically Recompiling Emulator - Dynamic recompilation of MOS 6502 machine code through LLVM IR using a JIT compiler

dc.contributor.authorBlomqvist, Carl
dc.contributor.authorFalkenby, Matilda
dc.contributor.authorKalin, William
dc.contributor.authorKorch, Felix
dc.contributor.authorLundgren, Carl
dc.contributor.authorPettersson, Markus
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.examinerLinde, Arne
dc.contributor.supervisorTjelldén, Torbjörn
dc.date.accessioned2020-10-27T12:52:42Z
dc.date.available2020-10-27T12:52:42Z
dc.date.issued2020sv
dc.date.submitted2020
dc.description.abstractThis report examines the possibility to implement dynamic recompilation of machine code for the central processing unit MOS 6502. Using libraries for compilation and optimizations, from the LLVM project, an emulator for the MOS 6502 processor was developed. In addition to the dynamically recompiling emulator, an interpreting emulator was developed as well. The interpreting emulator was used as a reference when assessing the execution time of the machine code generated by the dynamically recompiling emulator. It was shown that the execution time of MOS 6502 programs was lower when executed on the dynamically recompiling emulator, compared to the interpreting emulator. The dynamically recompiling emulator has an associated startup time, which in some cases leads to the interpreting emulator finishing its execution quicker overall.sv
dc.identifier.coursecodeDATX02sv
dc.identifier.urihttps://hdl.handle.net/20.500.12380/301970
dc.language.isoswesv
dc.setspec.uppsokTechnology
dc.subjectemulationsv
dc.subjectdynamically recompiling emulatorsv
dc.subjectinterpreting emulatorsv
dc.subjectdynamic recompilationsv
dc.subjectJITsv
dc.subjectLLVMsv
dc.subjectMOS 6502sv
dc.titleDynamically Recompiling Emulator - Dynamic recompilation of MOS 6502 machine code through LLVM IR using a JIT compilersv
dc.type.degreeExamensarbete på kandidatnivåsv
dc.type.uppsokM2
Ladda ner
Original bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
2008 dynamiskrekompileringutavnesromfilerfrånllvmir_21635_605771_Kandidatrapport_final_0602.pdf
Storlek:
11.55 MB
Format:
Adobe Portable Document Format
Beskrivning:
License bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
1.14 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: