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 2005CBWCWDECDQEConvert to Sign-extendedCopies the sign bit in the AL or eAX register to the upper bits of the rAX register. Theeffect of this instruction is to convert a signed byte, word, or doubleword in the AL oreAX register into a signed word, doubleword, or double quadword in the rAX register.This action helps avoid overflow problems in signed number arithmetic.The CDQE mnemonic is meaningful only in 64-bit mode.Mnemonic Opcode DescriptionCBW 98 Sign-extend AL into AX.CWDE 98 Sign-extend AX into EAX.CDQE 98 Sign-extend EAX into RAX.Related <strong>Instructions</strong>CWD, CDQ, CQOrFLAGS AffectedNoneExceptionsNone96 CBW, CWDE, CDQE

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

Saved successfully!

Ooh no, something went wrong!