Convert Word to Extended DoubleWord                     

86/88

N

186

N

286

N

386

Y

486

Y

CWDE

Ovfl

N

Dir

N

Int

N

Trap

N

Sign

N

Zero

N

Aux

N

Prty

N

Carry

N

    Converts a signed word in AX to a signed DoubleWord in EAX by
    extending the sign bit of AX throughout  EAX.

------------------------------------ Timing ----------------------------------

OpCode          Instruction             386     286     86
98              CWDE                    3

------------------------------------ Logic -----------------------------------

        If (AX < 8000h) then
                hi(EAX) = 0
        else
                hi(EAX) = 0FFFFh

See Also CWD CBW CDQ DIV IDIV


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .