jmpnz / ProcessorTests

A language-agnostic JSON-encoded instruction-by-instruction test suite for the 8088, 68000, 65816, 65[c]02 and SPC700 that includes bus activity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ProcessorTests

This repository contains tests for a variety of processors, provided as an aid to reimplementation.

Each test:

  • requires execution of only a single instruction; and
  • provides full processor and memory state before and after.

Tests are randomly generated, in substantial volume.

Methodology

To generate each test set, an implementation is used that:

  • conforms to all available documentation, official and third-party;
  • passes all other published test sets; and
  • has been verified by usage in an emulated machine.

Human fallibility means that some discrepancies may still remain so all test sets are manually versioned, into v1, v2, etc, and notes on known discrepancies in the previous sets will be added when updates are published. This should cause the useful test quantity to grow over time, as well as hand-waving away any potential issues over the long term with repeatable random generation.

As a corollary: please report any discrepancies uncovered, either as an issue or via a correcting pull request.

Other Test Sets

For similar test sets from other, see:

About

A language-agnostic JSON-encoded instruction-by-instruction test suite for the 8088, 68000, 65816, 65[c]02 and SPC700 that includes bus activity.


Languages

Language:JavaScript 97.8%Language:HTML 1.4%Language:Python 0.8%