XCHG: - Exchange H and L with D and E No flag is affected in this instructions
SUB : Subtract All flags(CY,S,Z,AC,P) are affected by subtarct operation
STC : Set carry flag to 1 so Only carry flag is affected
DCR : Decrement All flags other than carry flag are affected
Hence ans is D