diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-28 18:48:23 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-28 18:59:35 +0800 |
commit | 412cc6bc5842f0ad2b6f2b0885f48be1dd1b4e8a (patch) | |
tree | 842a0a27e6f23f68e5d312e7dc1471da663f52a2 /docs/assembly.rst | |
parent | dd2cc899bbf71c1234d3bc1f2ea55c4716dbfd0d (diff) | |
download | dexon-solidity-412cc6bc5842f0ad2b6f2b0885f48be1dd1b4e8a.tar.gz dexon-solidity-412cc6bc5842f0ad2b6f2b0885f48be1dd1b4e8a.tar.zst dexon-solidity-412cc6bc5842f0ad2b6f2b0885f48be1dd1b4e8a.zip |
Highlight opcodes in docs
Diffstat (limited to 'docs/assembly.rst')
-rw-r--r-- | docs/assembly.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/assembly.rst b/docs/assembly.rst index 6495699f..3c2146c1 100644 --- a/docs/assembly.rst +++ b/docs/assembly.rst @@ -9,9 +9,10 @@ This assembly language can also be used as "inline assembly" inside Solidity source code. We start with describing how to use inline assembly and how it differs from standalone assembly and then specify assembly itself. -TODO: Write about how scoping rules of inline assembly are a bit different -and the complications that arise when for example using internal functions -of libraries. Furthermore, write about the symbols defined by the compiler. +.. note:: + TODO: Write about how scoping rules of inline assembly are a bit different + and the complications that arise when for example using internal functions + of libraries. Furthermore, write about the symbols defined by the compiler. .. _inline-assembly: @@ -1005,7 +1006,7 @@ that modifies the stack and with every label that is annotated with a stack adjustment. Every time a new local variable is introduced, it is registered together with the current stack height. If a variable is accessed (either for copying its value or for -assignment), the appropriate DUP or SWAP instruction is selected depending +assignment), the appropriate ``DUP`` or ``SWAP`` instruction is selected depending on the difference between the current stack height and the stack height at the point the variable was introduced. |