In 8 bit signed number operations, OV flag is set to 1 if:
(a) a carry is generated from D7 bit
(b) a carry is generated from D3 bit
(c) a carry is generated from D7 or D3 bit
(d) a carry is generated from D7 or D6 bit
This question was addressed to me during an interview for a job.
The origin of the question is Arithmetic and Logic Instructions in portion 8051 Microcontroller of Microcontroller