diff options
author | chriseth <chris@ethereum.org> | 2017-06-13 23:41:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-13 23:41:52 +0800 |
commit | 6b052249dac2bce9d3a87f21cbde3a6429428fc0 (patch) | |
tree | d114e3c9fddb70aee8bfe7855bcb56d7b41b3c36 /docs | |
parent | 40f5690f68961130073028526f8b923ed0793c8a (diff) | |
parent | 8775e77305f84117827f1e6165c4d3776c51f667 (diff) | |
download | dexon-solidity-6b052249dac2bce9d3a87f21cbde3a6429428fc0.tar dexon-solidity-6b052249dac2bce9d3a87f21cbde3a6429428fc0.tar.gz dexon-solidity-6b052249dac2bce9d3a87f21cbde3a6429428fc0.tar.bz2 dexon-solidity-6b052249dac2bce9d3a87f21cbde3a6429428fc0.tar.lz dexon-solidity-6b052249dac2bce9d3a87f21cbde3a6429428fc0.tar.xz dexon-solidity-6b052249dac2bce9d3a87f21cbde3a6429428fc0.tar.zst dexon-solidity-6b052249dac2bce9d3a87f21cbde3a6429428fc0.zip |
Merge pull request #2275 from ethereum/returndata_lll
Add RETURNDATACOPY and RETURNDATASIZE to assembly (and LLL)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/assembly.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/assembly.rst b/docs/assembly.rst index 90e70031..cd3ff4c0 100644 --- a/docs/assembly.rst +++ b/docs/assembly.rst @@ -234,6 +234,10 @@ In the grammar, opcodes are represented as pre-defined identifiers. +-------------------------+------+-----------------------------------------------------------------+ | extcodecopy(a, t, f, s) | `-` | like codecopy(t, f, s) but take code at address a | +-------------------------+------+-----------------------------------------------------------------+ +| returndatasize | | size of the last returndata | ++-------------------------+------+-----------------------------------------------------------------+ +| returndatacopy(t, f, s) | `*` | copy s bytes from returndata at position f to mem at position t | ++-------------------------+------+-----------------------------------------------------------------+ | create(v, p, s) | | create new contract with code mem[p..(p+s)) and send v wei | | | | and return the new address | +-------------------------+------+-----------------------------------------------------------------+ |