sxtb
Signed Extend Byte (A32)
SXTB<c> <Rd>, <Rm> {, <rotation>}
Sign-extends the low byte (8-bits) to 32-bits.
Details
The Signed Extend Byte instruction sign-extends the low byte (8-bits) to 32-bits.
Pseudocode Operation
Rd ← sign/zero-extend(Rm)
Example
SXTB r0, r2
Encoding
Binary Layout
cond
01101010
1111
Rd
rot
0111
Rm
Operands
-
Rd
Destination general-purpose register -
Rm
Second source / offset general-purpose register