Skip to content
Snippets Groups Projects
Commit 4a6cac46 authored by Peter Hinch's avatar Peter Hinch Committed by Damien George
Browse files

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

parent 99146ea4
No related branches found
No related tags found
No related merge requests found
......@@ -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::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment