aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMathias Baumann <marenz@supradigital.org>2018-12-19 01:05:14 +0800
committerMathias Baumann <marenz@supradigital.org>2018-12-19 02:36:38 +0800
commite9944206a5ee1b7d4f4230c3618df539dbc69438 (patch)
tree6e2ada66979cc6afe6a3be5b748062c38d55babb /docs
parent50101570ef1372394b60d0ce88f2d682eda53843 (diff)
downloaddexon-solidity-e9944206a5ee1b7d4f4230c3618df539dbc69438.tar.gz
dexon-solidity-e9944206a5ee1b7d4f4230c3618df539dbc69438.tar.zst
dexon-solidity-e9944206a5ee1b7d4f4230c3618df539dbc69438.zip
Rephrase opcode result returning description
It was a bit between the lines that "pushing on the stack" is their means of returning a result.
Diffstat (limited to 'docs')
-rw-r--r--docs/assembly.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/assembly.rst b/docs/assembly.rst
index b5206815..b2f150ca 100644
--- a/docs/assembly.rst
+++ b/docs/assembly.rst
@@ -159,8 +159,8 @@ following list can be used as a reference of its opcodes.
If an opcode takes arguments (always from the top of the stack), they are given in parentheses.
Note that the order of arguments can be seen to be reversed in non-functional style (explained below).
-Opcodes marked with ``-`` do not push an item onto the stack, those marked with ``*`` are
-special and all others push exactly one item onto the stack.
+Opcodes marked with ``-`` do not push an item onto the stack (do not return a result),
+those marked with ``*`` are special and all others push exactly one item onto the stack (their "return value").
Opcodes marked with ``F``, ``H``, ``B`` or ``C`` are present since Frontier, Homestead, Byzantium or Constantinople, respectively.
Constantinople is still in planning and all instructions marked as such will result in an invalid instruction exception.