TestAssertions Enum
Definition
Flags specifying which aspects of the Z80 processor state should be tested during instruction execution.
Fields
Name | Description |
---|---|
Test the A register. | |
Test everything. | |
Test everything except Cycles. | |
Test the BC register pair. | |
Test the carry flag, C. | |
Test machine cycles. | |
Test the DE register pair. | |
Test the F register. | |
Test all the flags. | |
Test the half-carry flag, H. | |
Test whether the CPU is in the halted state. | |
Test the HL register pair. | |
Test the I register. | |
Test the IFF1 interrupt flip-flop. | |
Test the IFF2 interrupt flip-flop. | |
Test the interrupt mode. | |
Test all the interrupt-related properties, IFF1, IFF2, IM and Halted. | |
Test both I/O read and write operations. | |
Test I/O read operations. | |
Test I/O write operations. | |
Test the IX register pair. | |
Test the IY register pair. | |
Test memory state. | |
Test the add/subtract flag, N. | |
Test nothing. Kinda pointless really. | |
Test the PC register. | |
Test the parity/overflow flag, P/V. | |
Test the internal Q register. | |
Test the R register. | |
Tests all the registers. | |
Tests all the registers except Q. | |
Tests all the non-internal registers, i.e. all registers except WZ and Q. | |
Test the sign flag, S. | |
Test the AF' register pair. | |
Test the BC' register pair. | |
Test the DE' register pair. | |
Test the HL' register pair. | |
Test the SP register. | |
Test T-states. | |
Test the internal WZ register, sometimes called MEMPTR. | |
Test the undocumented X flag, bit 3 of the F register. | |
Test the undocumented Y flag, bit 5 of the F register. | |
Test the zero flag, Z. |