Sign extend two Bytes with Add, to extend two 8-bit values to two 16-bit values.
is an optional condition code.
is the destination register.
is the register holding the number to add.
is the register holding the value to extend.
is one of:
isrotated right 8 bits.
isrotated right 16 bits.
isrotated right 24 bits.
is omitted, norotation is performed.
This instruction does the following:
Rotate the value from
rightby 0, 8, 16 or 24 bits.
Extract bits[23:16] and bits[7:0] from the valueobtained.
Sign extend to 16 bits.
Add them to bits[31:16] and bits[15:0] respectivelyof
to form bits[31:16] and bits[15:0]of the result.
You cannot use PC for any operand.
You can use SP in A32 instructions but this is deprecated. You cannot use SP in T32 instructions.
This instruction does not change the flags.
The 32-bit instruction is available in A32 and T32.
There is no 16-bit version of this instruction in T32.