diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-30 17:15:44 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-30 19:33:04 +0800 |
commit | 524a52660d01025954374e7902ab6df68e466c26 (patch) | |
tree | e1e1c48da8b70e0f6df24b6ba63260bf8ed58b67 /docs | |
parent | 59d3a9d169a55dc6fd3348e2fa581840bea7145b (diff) | |
download | dexon-solidity-524a52660d01025954374e7902ab6df68e466c26.tar dexon-solidity-524a52660d01025954374e7902ab6df68e466c26.tar.gz dexon-solidity-524a52660d01025954374e7902ab6df68e466c26.tar.bz2 dexon-solidity-524a52660d01025954374e7902ab6df68e466c26.tar.lz dexon-solidity-524a52660d01025954374e7902ab6df68e466c26.tar.xz dexon-solidity-524a52660d01025954374e7902ab6df68e466c26.tar.zst dexon-solidity-524a52660d01025954374e7902ab6df68e466c26.zip |
Document keccak256 in assembly
Diffstat (limited to 'docs')
-rw-r--r-- | docs/assembly.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/assembly.rst b/docs/assembly.rst index 07583a24..90e70031 100644 --- a/docs/assembly.rst +++ b/docs/assembly.rst @@ -182,6 +182,8 @@ In the grammar, opcodes are represented as pre-defined identifiers. +-------------------------+------+-----------------------------------------------------------------+ | signextend(i, x) | | sign extend from (i*8+7)th bit counting from least significant | +-------------------------+------+-----------------------------------------------------------------+ +| keccak256(p, n) | | keccak(mem[p...(p+n))) | ++-------------------------+------+-----------------------------------------------------------------+ | sha3(p, n) | | keccak(mem[p...(p+n))) | +-------------------------+------+-----------------------------------------------------------------+ | jump(label) | `-` | jump to label / code position | |