From 524a52660d01025954374e7902ab6df68e466c26 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 30 May 2017 10:15:44 +0100 Subject: Document keccak256 in assembly --- docs/assembly.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') 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 | -- cgit v1.2.3