diff --git a/docs/pyboard/tutorial/assembler.rst b/docs/pyboard/tutorial/assembler.rst
index 7c6cf44c4bb05e97503ee7f18b033e824c0a0d6e..1fe2bc4b079a9ea7c60631f5e5257109b979e504 100644
--- a/docs/pyboard/tutorial/assembler.rst
+++ b/docs/pyboard/tutorial/assembler.rst
@@ -64,8 +64,8 @@ This code uses a few new concepts:
 Accepting arguments
 -------------------
 
-Inline assembler functions can accept up to 3 arguments.  If they are
-used, they must be named ``r0``, ``r1`` and ``r2`` to reflect the registers
+Inline assembler functions can accept up to 4 arguments.  If they are
+used, they must be named ``r0``, ``r1``, ``r2`` and ``r3`` to reflect the registers
 and the calling conventions.
 
 Here is a function that adds its arguments::