aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-09-24 22:27:21 +0800
committerGitHub <noreply@github.com>2018-09-24 22:27:21 +0800
commit3eb5ecdf585426cb6390bffa881b448f50a655f9 (patch)
treef45068124788dc1baa9c039d51f5b4d529a6d25f
parenta9e22e07666c0cbb9f46ff227aae4a942bd29186 (diff)
parentbc363a7e3a09217a6f0b72072afb0fbd35f49c97 (diff)
downloaddexon-solidity-3eb5ecdf585426cb6390bffa881b448f50a655f9.tar.gz
dexon-solidity-3eb5ecdf585426cb6390bffa881b448f50a655f9.tar.zst
dexon-solidity-3eb5ecdf585426cb6390bffa881b448f50a655f9.zip
Merge pull request #4925 from wbt/patch-2
Clarify docs around reserved memory byte ranges
-rw-r--r--docs/miscellaneous.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst
index de3ab962..5d2819df 100644
--- a/docs/miscellaneous.rst
+++ b/docs/miscellaneous.rst
@@ -64,7 +64,7 @@ The position of ``data[4][9].b`` is at ``keccak256(uint256(9) . keccak256(uint25
Layout in Memory
****************
-Solidity reserves four 32 byte slots:
+Solidity reserves four 32-byte slots, with specific byte ranges (inclusive of endpoints) being used as follows:
- ``0x00`` - ``0x3f`` (64 bytes): scratch space for hashing methods
- ``0x40`` - ``0x5f`` (32 bytes): currently allocated memory size (aka. free memory pointer)