EXTB

EXTB

Operation:
Destination Sign-Extended -->; Destination

Compatibility: MC68020/MC68030/MC68040

Assembler Syntax:
EXTB.L Dn extends byte to long word

Attributes: Size = (Long)

Description: Extends a byte in a data register to a long word
by replicating the sign bit to the left. Bit [7] of the
designated data register is copied to bits [31:16] of that
data register.

Condition Codes:
\c32200
X Not affected.
N Set if the result is negative. Cleared otherwise.
Z Set if the result is zero. Cleared otherwise.
V Always cleared.
C Always cleared.

Instruction Format:
\i1-+--+--+++---3Reg,

Instruction Fields:
Register field -- Specifies the data register to be
sign-extended.

Related Instructions:
EXT,446
.446448