Closed meyerm closed 7 years ago
The OF flag is set by 1-bit shifts:
OF
0
CF
SAR
SHR
The first case (left shifts) is handled wrongly by Jasmin.
The
OF
flag is set by 1-bit shifts:0
with left shifts if the MSB and theCF
flag are equal.SAR
it's always cleared.SHR
set theOF
flag to the MSB of the input operand.The first case (left shifts) is handled wrongly by Jasmin.