If I recall correctly, they affect all the flags but the carry flag. If you're programming in 8085 asm, you surely must have an instruction set reference.
You are saying 'flag', but there is a whole set of flags. I recommend you read your materials, and have your sir do the same.