
CWD CONVERT WORD CWD
TO DOUBLEWORD
Operation: | Flags Affected: |
if (AX) <8000H then (OX) ~ 0 | None |
else (OX) ~ FFFFH |
|
Description:
CWD (Convert Word to Doubleword) extends the sign of the word in register AX throughout register DX. CWD does not affect any flags. CWD can be used to produce a
Encoding:
1100110011
CWD Operands Clocks Transfers Bytes CWD Coding Example
(no operands) | 5 | - | 1 CWO |