CBW
CONVERT
BYTE
TOWORD
Operation:
if
(AL)
<
SOH
then
(AH)
~
0
else
(AH)
<
FFH
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
Flags Affected:
None
CBW
CBW Operands
Clocks
Transfers
Bytes
CBW Coding Example
(no operands)
2
- 1
CBW
2-61