aboutsummaryrefslogtreecommitdiffstats
path: root/docs/assembly.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-07-02 18:22:46 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-07-13 21:18:40 +0800
commitb65601bb3d7050c1c46b1b6f09f31829f9f9ee63 (patch)
tree26c0bdca967451b261c63b31c238da4000bf02e1 /docs/assembly.rst
parent03abf792c5b5e462b0d8135bf6d02fbb7bf0fe5d (diff)
downloaddexon-solidity-b65601bb3d7050c1c46b1b6f09f31829f9f9ee63.tar.gz
dexon-solidity-b65601bb3d7050c1c46b1b6f09f31829f9f9ee63.tar.zst
dexon-solidity-b65601bb3d7050c1c46b1b6f09f31829f9f9ee63.zip
Add changelog and documentation
Diffstat (limited to 'docs/assembly.rst')
-rw-r--r--docs/assembly.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/assembly.rst b/docs/assembly.rst
index 00601371..0a120644 100644
--- a/docs/assembly.rst
+++ b/docs/assembly.rst
@@ -110,7 +110,7 @@ these curly braces, the following can be used (see the later sections for more d
- opcodes (in "instruction style"), e.g. ``mload sload dup1 sstore``, for a list see below
- opcodes in functional style, e.g. ``add(1, mlod(0))``
- labels, e.g. ``name:``
- - variable declarations, e.g. ``let x := 7`` or ``let x := add(y, 3)``
+ - variable declarations, e.g. ``let x := 7``, ``let x := add(y, 3)`` or ``let x`` (initial value of empty (0) is assigned)
- identifiers (labels or assembly-local variables and externals if used as inline assembly), e.g. ``jump(name)``, ``3 x add``
- assignments (in "instruction style"), e.g. ``3 =: x``
- assignments in functional style, e.g. ``x := add(y, 3)``