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

STC

T2 arm32 load_store insn
AArch32 T32/Thumb-2 Instruction: STC
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 STC instruction (T32/Thumb-2, 32-bit) with 4 encoding variants extracted from LLVM TableGen. Effects: store.

Syntax / Encoding

t2STC_OPTION: stc${p} $cop, $CRd, $addr, $option
t2STC_OFFSET: stc${p} $cop, $CRd, $addr
t2STC_POST: stc${p} $cop, $CRd, $addr, $offset
t2STC_PRE: stc${p} $cop, $CRd, $addr!

Binary Encodings (4)

WidthFormatBit PatternMask / Match
32t2STC_OPTION111011001000xxxxxxxxxxxxxxxxxxxx0xfff00000 / 0xec800000
32t2STC_OFFSET11101101x000xxxxxxxxxxxxxxxxxxxx0xff700000 / 0xed000000
32t2STC_POST11101100x010xxxxxxxxxxxxxxxxxxxx0xff700000 / 0xec200000
32t2STC_PRE11101101x010xxxxxxxxxxxxxxxxxxxx0xff700000 / 0xed200000

Operands

NameDescription
cop
CRd
addr
addr
option
offset
addr