Memory


MLOAD

Original EVM 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 code is common for Yul and EVMLA representations.

LLVM IR instruction documentation

ld.1    r1, r2

See EraVM instruction: st.1

MSTORE

Original EVM 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 code is common for Yul and EVMLA representations.

LLVM IR instruction documentation

See EraVM instruction: st.1

Original EVM instruction.

The LLVM IR generator code is common for Yul and EVMLA representations.

Last updated