Flag |
Name |
Description
|
---|
Z |
Zero flag |
نشان می دهد که نتیجه یک عملیات محاسباتی یا منطقی صفر است.
|
C |
Carry flag |
Enables numbers larger than a single word to be added/subtracted by carrying a binary digit from a less significant word to the least significant bit of a more significant word as needed. It is also used to extend bit shifts and rotates in a similar manner on many processors (sometimes done via a dedicated X flag).
|
S / N |
Sign flag / Negative flag |
Indicates that the result of a mathematical operation is negative. In some processors,[1] the N and S flags are distinct with different meanings and usage: One indicates whether the last result was negative whereas the other indicates whether a subtraction or addition has taken place.
|
V / O / W |
Overflow flag |
نشان می دهد که نتیجه یک عملیات بزرگ تر از آن است که در یک بیت جای گیرد
|
P |
Parity flag |
Indicates whether the number of set bits of the last result is odd or even.
|