mov al, -1
add al, 130
I am attempting to answer a question from the textbook for my x86-assembly class. One of the examples asks to explain why the over flag would help you determine if, in this instance, the final value of al falls within a valid signed range.
My initial thoughts were that the Overflow flag should be called, since -1 + 130 = 129, which is outside the range of a signed 8-bit integer, with al being the lowest 8 bits of the EAX register. But when I run this code in Visual Studio, I don't see the Overflow flag ever being set.