Memory


MLOAD

Original EVMarrow-up-right instruction.

Heap memory load operation is modeled with a native EraVM instruction.

LLVM IR

%value = load i256, ptr addrspace(1) %pointer, align 1

The LLVM IR generator codearrow-up-right is common for Yul and EVMLA representations.

LLVM IR instruction documentationarrow-up-right

ld.1    r1, r2

See EraVM instruction: st.1arrow-up-right

MSTORE

Original EVMarrow-up-right instruction.

Heap memory load operation is modeled with a native EraVM instruction.

LLVM IR

store i256 128, ptr addrspace(1) inttoptr (i256 64 to ptr addrspace(1)), align 1

The LLVM IR generator codearrow-up-right is common for Yul and EVMLA representations.

LLVM IR instruction documentationarrow-up-right

See EraVM instruction: st.1arrow-up-right

Original EVMarrow-up-right instruction.

The LLVM IR generator codearrow-up-right is common for Yul and EVMLA representations.

Last updated