xref: /netbsd-src/external/gpl3/gdb/dist/sim/example-synacor/README (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
1= OVERVIEW =
2
3The Synacor Challenge is a fun programming exercise with a number of puzzles
4built into it.  You can find more details about it here:
5https://challenge.synacor.com/
6
7The first puzzle is writing an interpreter for their custom ISA.  This is a
8simulator for that custom CPU.  The CPU is quite basic: it's 16-bit with only
98 registers and a limited set of instructions.  This means the port will never
10grow new features.  See README.arch-spec for more details.
11
12Implementing it here ends up being quite useful: it acts as a simple constrained
13"real world" example for people who want to implement a new simulator for their
14own architecture.  We demonstrate all the basic fundamentals (registers, memory,
15branches, and tracing) that all ports should have.
16