diff --git a/docs/pyboard/tutorial/assembler.rst b/docs/pyboard/tutorial/assembler.rst index 7c6cf44c4b..1fe2bc4b07 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::