diff options
author | Mathias Baumann <marenz@supradigital.org> | 2018-12-19 00:53:58 +0800 |
---|---|---|
committer | Mathias Baumann <marenz@supradigital.org> | 2018-12-19 01:06:43 +0800 |
commit | 50101570ef1372394b60d0ce88f2d682eda53843 (patch) | |
tree | ace9681fc6541ce5f5c91a62e5a7e83839ca67cf /docs | |
parent | 4e475cdbe91e38e7b129248d4578b3a4fbf926be (diff) | |
download | dexon-solidity-50101570ef1372394b60d0ce88f2d682eda53843.tar.gz dexon-solidity-50101570ef1372394b60d0ce88f2d682eda53843.tar.zst dexon-solidity-50101570ef1372394b60d0ce88f2d682eda53843.zip |
Format "and" as instruction op code
Diffstat (limited to 'docs')
-rw-r--r-- | docs/assembly.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/assembly.rst b/docs/assembly.rst index 5bb9825a..b5206815 100644 --- a/docs/assembly.rst +++ b/docs/assembly.rst @@ -346,7 +346,7 @@ Literals You can use integer constants by typing them in decimal or hexadecimal notation and an appropriate ``PUSHi`` instruction will automatically be generated. The following creates code -to add 2 and 3 resulting in 5 and then computes the bitwise and with the string "abc". +to add 2 and 3 resulting in 5 and then computes the bitwise ``AND`` with the string "abc". The final value is assigned to a local variable called ``x``. Strings are stored left-aligned and cannot be longer than 32 bytes. |