Errors in Official Z80 Documentation

There are a few errors, most of them are minor.

Flag Affection Summary

  1. The LDI/LDIR/LDD/LDDR do not affect the S and Z flag. They leave them untouched.
  2. The INI/INIR/IND/INDR/OUTI/OTIR/OUTD/OTDR set both the N and the C flag in an undefined state.

Instruction Descriptions

  1. In the 8-bit Load Group, the last two bits of the second byte of the LD r,(IX + d) opcode should be 10 and not 01.
  2. In the 16-bit Arithmetic Group, bit 6 of the second byte of the ADD IX, pp opcode should be 0, not 1.
  3. In the Input and Output Group, the H flag of IN r,(C) should be 0 not 1.
  4. The INI/INIR/IND/INDR/OUTI/OTIR/OUTD/OTDR set both the N and the C flag in an undefined state.

This page is maintained by Sean Young.