SingleStepTests/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.

JavaScript

253

124 commits

updated May 15, 2024

See the code

README

This repository is archived, having been subdivided by test set. See https://github.com/orgs/SingleStepTests/ for its continuation.


Previous README:

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.

In addition to the standard Git history, test sets are manually versioned to permit for potential future breaking changes in JSON format.

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:

6502
65816
65c02
68000
8088
m68000
m68k
motorola-68000
spc700
testsuite
x86

SingleStepTests/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.

JavaScript

253

124 commits

updated May 15, 2024

See the code

README

This repository is archived, having been subdivided by test set. See https://github.com/orgs/SingleStepTests/ for its continuation.


Previous README:

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.

In addition to the standard Git history, test sets are manually versioned to permit for potential future breaking changes in JSON format.

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:

6502
65816
65c02
68000
8088
m68000
m68k
motorola-68000
spc700
testsuite
x86

Significant stargazers

Lars Brinkhoff

699 followers · starred Apr 2023

Stuart Carnie

262 followers · starred Sep 2022

Eric Kilmer

67 followers · starred Oct 2023

Leandro Moreira

2,379 followers · starred Jan 2024