ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

LDRSH

T2 arm32 load_store insn
AArch32 T32/Thumb-2 Instruction: LDRSH
SourceLLVM AArch32 (A32/T32) Instruction Definitions (llvm_arm32_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeARMv7-A / ARMv8-A AArch32 / Cortex-M (T32/Thumb-2)
ARMv7-A / ARMv8-A AArch32 (A32/T32/VFP/NEON)
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/ARM
Privilegeuser
ExtensionsT32/Thumb-2

Summary

AArch32 LDRSH instruction (T32/Thumb-2, 32-bit) with 3 encoding variants extracted from LLVM TableGen. Effects: load.

Syntax / Encoding

t2LDRSH_POST: ldrsh${p} $Rt, $Rn$offset
t2LDRSH_PRE: ldrsh${p} $Rt, $addr!
t2LDRSHi8: ldrsh${p} $Rt, $addr

Binary Encodings (3)

WidthFormatBit PatternMask / Match
32t2LDRSH_POST111110010011xxxxxxxx10x1xxxxxxxx0xfff00d00 / 0xf9300900
32t2LDRSH_PRE111110010011xxxxxxxx11x1xxxxxxxx0xfff00d00 / 0xf9300d00
32t2LDRSHi8111110010011xxxxxxxx11x0xxxxxxxx0xfff00d00 / 0xf9300c00

Operands

NameDescription
Rt
Rn_wb
Rn
offset
addr
Rt
addr