ldrsb

Load Register Signed Byte (Immediate)

LDRSB <Wt>, [<Xn|SP>, #<pimm>]

Loads a byte and sign-extends it to 32-bits.

Details

The Load Register Signed Byte instruction loads a byte and sign-extends it to 32-bits.

Pseudocode Operation

Wt ← Memory[address]

Example

LDRSB w3, [x1, #16]

Encoding

Binary Layout
00111001
11
imm12
Rn
Rt
 
Format Load/Store
Opcode 0x39C00000
Extension Base

Operands

  • Wt
    Transfer 32-bit integer register (load/store)
  • Xn
    First source / base 64-bit integer register
  • pimm
    Positive immediate offset