13.07.2015 Views

Volume 3: General-Purpose and System Instructions - Stanford ...

Volume 3: General-Purpose and System Instructions - Stanford ...

Volume 3: General-Purpose and System Instructions - Stanford ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

AMD64 Technology 24594 Rev. 3.10 February 2005A.2.3 rFLAGSCondition Codes forTwo-Byte OpcodesTable A-5 shows the rFLAGS condition codes specified by thelow nibble in the second opcode byte of the CMOVcc, Jcc, <strong>and</strong>SETcc instructions.Table A-5.rFLAGS Condition Codes for CMOVcc, Jcc, <strong>and</strong> SETccLow Nibble ofSecond OpcodeByte (hex)rFLAGS Valuecc MnemonicArithmeticTypeCondition(s)0 OF= 1 OOverflowSigned1 OF= 0 NO No Overflow2 CF= 1 B, C, NAEBelow, Carry, Not Above or Equal3 CF = 0 NB, NC, AE Not Below, No Carry, Above or Equal4 ZF = 1 Z, E Zero, EqualUnsigned5 ZF = 0 NZ, NE Not Zero, Not Equal6 CF = 1 or ZF = 1 BE, NA Below or Equal, Not Above7 CF = 0 <strong>and</strong> ZF = 0 NBE, A Not Below or Equal, Above8 SF =1 SSignSigned9 SF = 0 NS Not SignA PF= 1 P, PEParity, Parity Evenn/aB PF = 0 NP, PO Not Parity, Parity OddC (SF xor OF) =1 L, NGESignedLess than, Not Greater than or Equal toD (SF xor OF) = 0 NL, GE Not Less than, Greater than or Equal toEF(SF xor OF) = 1or ZF = 1(SF xor OF) = 0<strong>and</strong> ZF = 0LE, NGNLE, GLess than or Equal to, Not Greater thanNot Less than or Equal to, Greater than386 Appendix A: Opcode <strong>and</strong> Oper<strong>and</strong> Encodings

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!