Skip to content

Z80ExpectedState Class

Definition

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

public class Z80ExpectedState : Z80State

View source

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.