]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/example-synacor/README
sim: unify -Werror build settings
[thirdparty/binutils-gdb.git] / sim / example-synacor / README
CommitLineData
26da232c
MF
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.