sxtb

Sign Extend Byte

SXTB <Wd>, <Wn>

Extracts the lowest 8 bits and sign-extends to 32 bits (Alias for SBFM).

Details

The Sign Extend Byte instruction extracts the lowest 8 bits and sign-extends to 32 bits (Alias for SBFM).

Pseudocode Operation

Wd ← sign/zero-extend(Wn)

Example

SXTB w0, w1

Encoding

Binary Layout
00010011
00
000000
000111
Rn
Rd
 
Format Bitfield
Opcode 0x13001C00
Extension Base

Operands

  • Wd
    Destination 32-bit integer register
  • Wn
    First source / base 32-bit integer register