Professional Documents
Culture Documents
When the result of an operation falls beyond this range, an overflow occurs
• Signed Overflow
• Unsigned Overflow
Unsigned Signed
Interpretation Interpretation
8086 Operation:
Unsigned Signed
Interpretation Interpretation
1 1 0 1 1 0 1 1 0 0
1 0 1 1 0 1 1 0 0
0 1 1 0 1 1 0 0 0
1 1 0 1 1 0 1 1 0 0
1 0 1 1 0 1 1 0 0
0 1 1 0 1 1 0 0 0
Shift Right
CF
0 1 1 0 1 1 0 1 1
0 1 1 0 1 1 0 1 1
0 0 0 1 1 0 1 1 0 1
0 0 0 1 1 0 1 1 0
MSB 1 1 1 0 1 1 0 1 1
Retains 1 1 1 1 0 1 1 0 1
Value 1 1 1 1 1 0 1 1 0
CF 1 1 0 1 1 0 1 1
1 1 0 1 1 0 1 1 1
1 0 1 1 0 1 1 1 1
0 1 1 0 1 1 1 1 0
Rotate Right
1 1 0 1 1 0 1 1 CF
1 1 1 0 1 1 0 1 1
1 1 1 1 0 1 1 0 1
0 1 1 1 1 0 1 1 0
CF 1 1 0 1 1 0 1 1
0
1 1 0 1 1 0 1 1 0
1 0 1 1 0 1 1 0 1
0 1 1 0 1 1 0 1 1
0 1 1 0 1 1 0 1 1
1 0 1 1 0 1 1 0 1
1 1 0 1 1 0 1 1 0