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
......@@ -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::
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment