# Documents Read in this order. | Document | What it holds | | --- | --- | | [start-here.md](start-here.md) | The 8086 as the core will model it: registers, FLAGS with the fixed bits, segmentation and effective addresses, ModR/M encoding, prefixes and their interaction with interrupts, the opcode map with flag conventions, the interrupt model, string instructions, multiply/divide, and the V20/V30 additions. Cites the Intel 8086 Family User's Manual (1979) and the NEC V20/V30 User's Manual (1986) by page. | | [timing.md](timing.md) | Intel's clock tables restated (tables 2-20 and 2-21), the prefetch queue and why cycle-exactness is a later milestone, what the Irem M72 host needs (from MAME's `m72.cpp`), and why the V30 is a different clock table. | | [undocumented-behavior.md](undocumented-behavior.md) | Undefined flags per instruction as the manual and the three corpora state them, the rules that are known, the undocumented opcodes and forms on the 8086/8088, and the same bytes' different meanings on the V20/V30. Every rule tagged hardware / documented / unverified. | | [validation.md](validation.md) | The oracle-tier rule; every oracle with tier, license, URL, pin, size, case count, record shape and limits; what the 8088 corpus proves for an 8086; the fetch record; the gates in order. | | [mame-oracle.md](mame-oracle.md) | Producing per-instruction V30 traces of `rtype` from MAME 0.285: register names, the command line, what was verified, sample output, cost, and how to use a trace in lockstep. | | [handoff-brief.md](handoff-brief.md) | The brief for the session that builds the core: context, task, milestones with acceptance tests in oracle-tier order, constraints, what done looks like. | Scripts: [`scripts/fetch_test_vectors.py`](../scripts/fetch_test_vectors.py) fetches the corpora at pinned commits with per-file hash verification; [`scripts/mame/trace_rtype.sh`](../scripts/mame/trace_rtype.sh) and [`trace_rtype.lua`](../scripts/mame/trace_rtype.lua) produce the MAME trace.