docs: Update asm tutorial, maximum number of allowed args is now 4.

This commit is contained in:
Peter Hinch 2016-03-17 11:24:05 +00:00 committed by Damien George
parent 99146ea444
commit 4a6cac4643
1 changed files with 2 additions and 2 deletions

View File

@ -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::