Specifies the type of condition on which the instruction executes.
Namespace: SharpAssembler.x86Assembly: SharpAssembler x86-64 (in SharpAssembler x86-64.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public enum InstructionCondition |
Visual Basic |
---|
Public Enumeration InstructionCondition |
Visual C++ |
---|
public enum class InstructionCondition |
Members
Member name | Value | Description | |
---|---|---|---|
None | 0 | No condition or unconditional. | |
Overflow | 256 | The overflow flag (OF) equals 1. | |
NotOverflow | 4353 | The overflow flag (OF) equals 0. | |
Below | 514 | The carry flag (CF) equals 1. | |
Carry | 258 | The carry flag (CF) equals 1. | |
NotAboveOrEqual | 4610 | The carry flag (CF) equals 1. | |
NotBelow | 4611 | The carry flag (CF) equals 0. | |
NotCarry | 4355 | The carry flag (CF) equals 0. | |
AboveOrEqual | 515 | The carry flag (CF) equals 0. | |
Zero | 260 | The zero flag (ZF) equals 1. | |
Equal | 516 | The zero flag (ZF) equals 1. | |
NotZero | 4357 | The zero flag (ZF) equals 0. | |
NotEqual | 4613 | The zero flag (ZF) equals 0. | |
BelowOrEqual | 518 | The carry flag (CF) or the zero flag (ZF) equals 1. | |
NotAbove | 4358 | The carry flag (CF) or the zero flag (ZF) equals 1. | |
NotBelowOrEqual | 4615 | The carry flag (CF) and the zero flag (ZF) equal 0. | |
Above | 519 | The carry flag (CF) and the zero flag (ZF) equal 0. | |
Sign | 264 | The sign flag (SF) equals 1. | |
NotSign | 4361 | The sign flag (SF) equals 0. | |
Parity | 266 | The parity flag (PF) equals 1. | |
ParityEven | 778 | The parity flag (PF) equals 1. | |
NotParity | 4363 | The parity flag (PF) equals 0. | |
ParityOdd | 779 | The parity flag (PF) equals 0. | |
Less | 524 | The sign flag (SF) does not equal the overflow flag (OF). | |
NotGreaterOrEqual | 4620 | The sign flag (SF) does not equal the overflow flag (OF). | |
NotLess | 4621 | The sign flag (SF) equals the overflow flag (OF). | |
GreaterOrEqual | 525 | The sign flag (SF) equals the overflow flag (OF). | |
LessOrEqual | 526 | The zero flag (ZF) equals 1 or the sign flag (SF) does not equal the overflow flag (OF). | |
NotGreater | 4622 | The zero flag (ZF) equals 1 or the sign flag (SF) does not equal the overflow flag (OF). | |
NotLessOrEqual | 4623 | The zero flag (ZF) equals 0 and the sign flag (SF) equals the overflow flag (OF). | |
Greater | 527 | The zero flag (ZF) equals 0 and the sign flag (SF) equals the overflow flag (OF). | |
GetConditionCode | Gets the 8-bit condition code as used by the instruction set. |
Remarks
The lower 8 bits specify the condition code as used by the x86 instruction set. Bits 8-11 are 1 when it is a
flag condition, 2 when it is a comparison operator or 3 when it deals with even and odd parity. Bits 12-15 are
1 when it is the complement of the same value with those bits set to 0.