You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Mike Frysinger aa0fca163e sim: add support for build-time ar & ranlib 5 years ago
..
ChangeLog sim: add support for build-time ar & ranlib 5 years ago
Makefile.in sim: example-synacor: a simple implementation for reference 5 years ago
README sim: example-synacor: a simple implementation for reference 5 years ago
README.arch-spec sim: example-synacor: a simple implementation for reference 5 years ago
aclocal.m4 sim: enable hardware support by default 5 years ago
config.in sim: nrun: add local strsignal prototype 5 years ago
configure sim: add support for build-time ar & ranlib 5 years ago
configure.ac sim: example-synacor: a simple implementation for reference 5 years ago
interp.c sim: cgen: move cgen_cpu_max_extra_bytes logic into the common code 5 years ago
sim-main.c sim: example-synacor: a simple implementation for reference 5 years ago
sim-main.h sim: example-synacor: a simple implementation for reference 5 years ago

README

= OVERVIEW =

The Synacor Challenge is a fun programming exercise with a number of puzzles
built into it. You can find more details about it here:
https://challenge.synacor.com/

The first puzzle is writing an interpreter for their custom ISA. This is a
simulator for that custom CPU. The CPU is quite basic: it's 16-bit with only
8 registers and a limited set of instructions. This means the port will never
grow new features. See README.arch-spec for more details.

Implementing it here ends up being quite useful: it acts as a simple constrained
"real world" example for people who want to implement a new simulator for their
own architecture. We demonstrate all the basic fundamentals (registers, memory,
branches, and tracing) that all ports should have.