1# z80-test-runner
2
3Test harness for testing `z80-emu` against the ZEXDOC and ZEXALL test suites for the Z80 CPU, which were originally assembled for CP/M-compatible computers.
4
5Example usage:
6```
7cargo run --release --bin z80-test-runner -- /path/to/zexdoc.com
8```
9
10Output is printed to stdout:
11```
12Z80doc instruction exerciser
13<adc,sbc> hl,<bc,de,hl,sp>....  OK
14add hl,<bc,de,hl,sp>..........  OK
15add ix,<bc,de,ix,sp>..........  OK
16add iy,<bc,de,iy,sp>..........  OK
17aluop a,nn....................  OK
18aluop a,<b,c,d,e,h,l,(hl),a>..  OK
19aluop a,<ixh,ixl,iyh,iyl>.....  OK
20aluop a,(<ix,iy>+1)...........  OK
21
22...
23
24<set,res> n,(<ix,iy>+1).......  OK
25ld (<ix,iy>+1),<b,c,d,e>......  OK
26ld (<ix,iy>+1),<h,l>..........  OK
27ld (<ix,iy>+1),a..............  OK
28ld (<bc,de>),a................  OK
29Tests complete
30```