aboutsummaryrefslogtreecommitdiffstats
path: root/docs/assembly.rst
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-05-17 00:45:08 +0800
committerYoichi Hirai <i@yoichihirai.com>2017-06-13 22:57:02 +0800
commit0b22154a75254697d0bde328039c5d6bfedd935f (patch)
tree0c761c5e23b05afdd781ac2f416aa9b923111499 /docs/assembly.rst
parent0c8c2091947e23297655bd6a65587a7580d7dae8 (diff)
downloaddexon-solidity-0b22154a75254697d0bde328039c5d6bfedd935f.tar
dexon-solidity-0b22154a75254697d0bde328039c5d6bfedd935f.tar.gz
dexon-solidity-0b22154a75254697d0bde328039c5d6bfedd935f.tar.bz2
dexon-solidity-0b22154a75254697d0bde328039c5d6bfedd935f.tar.lz
dexon-solidity-0b22154a75254697d0bde328039c5d6bfedd935f.tar.xz
dexon-solidity-0b22154a75254697d0bde328039c5d6bfedd935f.tar.zst
dexon-solidity-0b22154a75254697d0bde328039c5d6bfedd935f.zip
libevmasm: add RETURNDATACOPY and RETURNDATASIZE
Diffstat (limited to 'docs/assembly.rst')
-rw-r--r--docs/assembly.rst4
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 |
+-------------------------+------+-----------------------------------------------------------------+