.. py:module:: ethereum.spurious_dragon.vm.instructions.memory Ethereum Virtual Machine (EVM) Memory Instructions ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. contents:: Table of Contents :backlinks: none :local: Introduction ------------ Implementations of the EVM Memory instructions. .. only:: stage1 Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: :nosignatures: ethereum.spurious_dragon.vm.instructions.memory.mstore ethereum.spurious_dragon.vm.instructions.memory.mstore8 ethereum.spurious_dragon.vm.instructions.memory.mload ethereum.spurious_dragon.vm.instructions.memory.msize Module Details --------------- mstore ~~~~~~ .. function:: mstore(evm: ethereum.spurious_dragon.vm.Evm) -> None :noindexentry: Stores a word to memory. This also expands the memory, if the memory is insufficient to store the word. :param evm: The current EVM frame. .. undocinclude:: /../src/ethereum/spurious_dragon/vm/instructions/memory.py :language: python :pyobject: mstore mstore8 ~~~~~~~ .. function:: mstore8(evm: ethereum.spurious_dragon.vm.Evm) -> None :noindexentry: Stores a byte to memory. This also expands the memory, if the memory is insufficient to store the word. :param evm: The current EVM frame. .. undocinclude:: /../src/ethereum/spurious_dragon/vm/instructions/memory.py :language: python :pyobject: mstore8 mload ~~~~~ .. function:: mload(evm: ethereum.spurious_dragon.vm.Evm) -> None :noindexentry: Load word from memory. :param evm: The current EVM frame. .. undocinclude:: /../src/ethereum/spurious_dragon/vm/instructions/memory.py :language: python :pyobject: mload msize ~~~~~ .. function:: msize(evm: ethereum.spurious_dragon.vm.Evm) -> None :noindexentry: Push the size of active memory in bytes onto the stack. :param evm: The current EVM frame. .. undocinclude:: /../src/ethereum/spurious_dragon/vm/instructions/memory.py :language: python :pyobject: msize