extb
Sign-extend byte to long
Sign-extends the low byte of a data register to a full long.
Size .l68020 only: select opt p=68020 before any code or data
XNZVC –●●00
- ● depends on the result
- 0 always 0
- – not changed
Forms
extb
Operands
Dn- A data register,
d0tod7. More
For example, if d0 is $12345680, extb.l d0 makes it $FFFFFF80 (-128). N and Z describe the long result, V and C are cleared, and X is unchanged.