From Learn @ Cemetech
Reads the (C) port and writes the result to (HL), then increments HL and decrements B.
C is preserved, the N flag is reset. S, H and P/V are undefined. Z is set if B becomes zero after decrementing, otherwise it is reset.