CBW CONVERT BYTE CBW

TOWORD

Operation:

Flags Affected:

if (AL) < SOH then (AH) ~ 0 else (AH) < FFH

None

DescriptiQn:

CBW (Convert Byte to Word) extends the sign of the byte in register AL throughout register AH. CBW does not affect any flags. CBWcan be used to produce a double-length (word) dividend from a byte prior to performing byte division.

Encoding:

1100110001

CBW Operands Clocks Transfers Bytes CBW Coding Example

(no operands)

2

-

1 CBW

2-61

Page 96
Image 96
Intel 210200-002 manual CBW Convert Byte CBW Toword, 1100110001