diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2016-10-14 01:30:43 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2016-10-14 01:30:43 +0800 |
commit | 550c92cb2f1cb40989efdc53bac60852aa7249de (patch) | |
tree | 11b5f7fe3571e47fbe33c36b396647314ff67e27 | |
parent | 5e75cae28abd79c499aa8ba4b567efdf801ed735 (diff) | |
download | dexon-solidity-550c92cb2f1cb40989efdc53bac60852aa7249de.tar dexon-solidity-550c92cb2f1cb40989efdc53bac60852aa7249de.tar.gz dexon-solidity-550c92cb2f1cb40989efdc53bac60852aa7249de.tar.bz2 dexon-solidity-550c92cb2f1cb40989efdc53bac60852aa7249de.tar.lz dexon-solidity-550c92cb2f1cb40989efdc53bac60852aa7249de.tar.xz dexon-solidity-550c92cb2f1cb40989efdc53bac60852aa7249de.tar.zst dexon-solidity-550c92cb2f1cb40989efdc53bac60852aa7249de.zip |
Small points on the instruction table
Fixes #1205
`sload` was not marked with a `-`, contrary to the description of #1205
-rw-r--r-- | docs/control-structures.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst index 6cbbcdf8..c754de64 100644 --- a/docs/control-structures.rst +++ b/docs/control-structures.rst @@ -505,7 +505,7 @@ The opcodes ``pushi`` and ``jumpdest`` cannot be used directly. +-------------------------+------+-----------------------------------------------------------------+ | pc | | current position in code | +-------------------------+------+-----------------------------------------------------------------+ -| pop | `*` | remove topmost stack slot | +| pop(x) | `-` | remove the element pushed by x | +-------------------------+------+-----------------------------------------------------------------+ | dup1 ... dup16 | | copy ith stack slot to the top (counting from top) | +-------------------------+------+-----------------------------------------------------------------+ @@ -561,9 +561,9 @@ The opcodes ``pushi`` and ``jumpdest`` cannot be used directly. | delegatecall(g, a, in, | | identical to `callcode` but also keep ``caller`` | | insize, out, outsize) | | and ``callvalue`` | +-------------------------+------+-----------------------------------------------------------------+ -| return(p, s) | `*` | end execution, return data mem[p..(p+s)) | +| return(p, s) | `-` | end execution, return data mem[p..(p+s)) | +-------------------------+------+-----------------------------------------------------------------+ -| selfdestruct(a) | `*` | end execution, destroy current contract and send funds to a | +| selfdestruct(a) | `-` | end execution, destroy current contract and send funds to a | +-------------------------+------+-----------------------------------------------------------------+ | log0(p, s) | `-` | log without topics and data mem[p..(p+s)) | +-------------------------+------+-----------------------------------------------------------------+ |