THE 80286 INSTRUCTION SET

CWO-Convert Word to Doubleword

OpcodeInstruction ClocksDescription

99

CWD

2

Convert word to daubleword (DX:AX = AX)

FLAGS MODIFIED

None

FLAGS UNDEFINED

None

OPERATION

CWDconverts the signed word in AX to a signed doubleword in DX:AX. It does so by extending the top bit of AX into all the bits of DX.

PROTECTED MODE EXCEPTIONS

None

REAL ADDRESS MODE EXCEPTIONS

None

8-35

Page 245
Image 245
Intel 80286, 80287 manual CWO-Convert Word to Doubleword, Cwd