From 3d12c2ddc72d15dfcf599a089f104a2a5c224f41 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 11 Oct 2016 23:41:37 +0100 Subject: Merge the two EVM memory introduction sections --- docs/miscellaneous.rst | 2 -- 1 file changed, 2 deletions(-) (limited to 'docs/miscellaneous.rst') diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst index cdc82c78..47da33b8 100644 --- a/docs/miscellaneous.rst +++ b/docs/miscellaneous.rst @@ -60,8 +60,6 @@ The position of ``data[4][9].b`` is at ``keccak256(uint256(9) . keccak256(uint25 Layout in Memory **************** -EVM memory is linear. Reading is limited to 256-bit width, but both 8-bit and 256-bit writes are allowed. Memory size is 0 at the beginning of execution. Memory is expanded by accessing (either reading or writing) a previously untouched memory offset. At the time of expansion, the cost in gas must be paid. - Solidity reserves three 256-bit slots: - 0 - 64: scratch space for hashing methods - 64 - 96: currently allocated memory size (aka. free memory pointer) -- cgit v1.2.3