An Emulator for a 6502 CPU. Done as a project assignment for university of applied siences bern