Professional Documents
Culture Documents
4-PSW and RAM organization-21-Jul-2020Material - I - 21-Jul-2020 - 3.psw - N - Ram - Org
4-PSW and RAM organization-21-Jul-2020Material - I - 21-Jul-2020 - 3.psw - N - Ram - Org
Overflow flag is set when there is a carry after adding D6th bit but
no carry after adding D7th bit.
Or Overflow flag is set when there is no carry after adding D6th bit
but carry after adding D7th bit.
Overflow flag
• Overflag is checked only for signed numbers.
• Unsigned 8 bit data ranges from 00H to FFH
• Signed 8 bit data
• Positive number ranges from 00H to 7FH
• Negative number ranges from 80H to FFH
• 7F(H)(0111 1111)BMSB is zero positive
number
• 80(H)(1000 0000)B MSB is one negative
number
Parity flag
• When Accumulator has odd number of ones
parity flag will set.