Correct option is B
When performing arithmetic operations, overflow occurs when the result exceeds the maximum range that can be stored in the register.
Overflow Condition:
· In an n-bit register, the maximum number that can be stored is limited by the bit-width.
· If a calculation exceeds this limit, an overflow occurs.
Example in an 8-bit System:
· The maximum value in an unsigned 8-bit register is 255 (binary 11111111).
· If an operation results in 256 (100000000), the system cannot store it correctly, leading to overflow.