Z80ExpectedState Class
Definition
Represents the expected state of a Z80 after executing an InstructionTestCase.
c#
public class Z80ExpectedState : Z80StateConstructors
| 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. |
NextRegisterWrites | Gets the expected list of Next register writes that occurred during instruction execution. Z80N only; a Z80 never writes to one. The register number is the port of the IOEvent. |
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. |