Addition of 87H and 79H.
87 H - 1 0 0 0 0 1 1 1
79 H - 0 1 1 1 1 0 0 1
1 0 0 0 0 0 0 0 0
S - sign flag - Since MSB of result is 0, hence sign bit should be 0.
Z - Zero flag - Since result is zero, hence zero bit should be 1.
CY - Carry flag - Since there is a carry from MSB (8th to 9th bit), hence CY = 1