about summary refs log tree commit diff stats
path: root/examples/Readme.md
blob: d4bb1ff5e0e7617cc85daa7562d68ceffe1bada2 (plain) (blame)
1
2
3
4
5
6
Small example programs, each with a simple pedagogical goal.

They also help to validate SubX instruction semantics against native x86
hardware. For example, loading a single byte to a register would for some time
clear the rest of the register. This behavior was internally consistent with
unit tests. It took running an example binary natively to catch the discrepancy.