MrKWatkins.EmulatorTestSuites 0.1.9 Help

Z80ExpectedState Class

Definition

Represents the expected state of a Z80 after executing an InstructionTestCase.

public class Z80ExpectedState : Z80State

Constructors

Name

Description

Z80ExpectedState()

Properties

Name

Description

Cycles

Gets the expected list of cycles that occurred during instruction execution.

IOWrites

Gets the expected list of I/O write events that occurred during instruction execution.

TStates

Gets the expected number of T-states taken to execute the instruction.

Methods

Name

Description

Assert(TestAssertions, Z80TestHarness)

Asserts that the actual Z80 state matches the expected state according to the specified assertions.

Last modified: 13 July 2025