ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

ELPM

T2 avr alu insn
AVR AVR-8 Instruction: ELPM
SourceLLVM AVR 8-bit MCU Instruction & Feature Definitions (llvm_avr_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeAVR 8-bit ISA (AVR-8)
ATmega / ATtiny / XMEGA / AVR-Dx 8-bit microcontrollers
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/AVR
Privilegeuser
ExtensionsAVR-8, ELPM, ELPMX

Summary

AVR ELPM instruction (AVR-8, 16-bit) with 3 encoding variants extracted from LLVM TableGen. Effects: load. Extensions: ELPM, ELPMX.

Syntax / Encoding

ELPM: elpm
ELPMRdZ: elpm $rd, $z
ELPMRdZPi: elpm $rd, $z+

Binary Encodings (3)

WidthFormatBit PatternMask / Match
16ELPM10010101110110000xffff / 0x95d8
16ELPMRdZ1001000xxxxx01100xfe0f / 0x9006
16ELPMRdZPi1001000xxxxx01110xfe0f / 0x9007

Operands

NameDescription
rd
z