]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/example-synacor/README
sim: unify -Werror build settings
[thirdparty/binutils-gdb.git] / sim / example-synacor / README
1 = OVERVIEW =
2
3 The Synacor Challenge is a fun programming exercise with a number of puzzles
4 built into it. You can find more details about it here:
5 https://challenge.synacor.com/
6
7 The first puzzle is writing an interpreter for their custom ISA. This is a
8 simulator for that custom CPU. The CPU is quite basic: it's 16-bit with only
9 8 registers and a limited set of instructions. This means the port will never
10 grow new features. See README.arch-spec for more details.
11
12 Implementing 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
14 own architecture. We demonstrate all the basic fundamentals (registers, memory,
15 branches, and tracing) that all ports should have.