It is said that the subtraction is performed in 2's complement in 8085 and so the flags must be set according to the operation.
However,in the figure shown, i am unable to figure out the reason behind auxiliary carry flag being set to '0' and the same goes for carry flag. When i performed 2's complement operation, i found carry=1 (which is not taken into consideration in 2's complement) and i also found carry of 1 shifting from lower nibble to upper and so i thought auxiliary carry to be 1. But i found just the opposite for both of them.
Similarly in the second case shown below, manually i got the carry to be zero whereas the carry flag was set to 1.