From b90d57a9fc3d9fed94ca071d9750f7a849f8d18d Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 17 Jun 2019 13:39:20 +0200 Subject: [PATCH] [DOC] Fix signextend example. --- docs/assembly.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/assembly.rst b/docs/assembly.rst index 295e39b90..2f5734f33 100644 --- a/docs/assembly.rst +++ b/docs/assembly.rst @@ -416,7 +416,7 @@ Local Solidity variables are available for assignments, for example: in a context where this is important: ``uint32 x = f(); assembly { x := and(x, 0xffffffff) /* now use x */ }`` To clean signed types, you can use the ``signextend`` opcode: - ``assembly { signextend(, x) }`` + ``assembly { signextend(, x) }`` Labels ------