Skip to content

Commit 4a6cac4

Browse files
peterhinchdpgeorge
authored andcommitted
docs: Update asm tutorial, maximum number of allowed args is now 4.
1 parent 99146ea commit 4a6cac4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/pyboard/tutorial/assembler.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ This code uses a few new concepts:
6464
Accepting arguments
6565
-------------------
6666

67-
Inline assembler functions can accept up to 3 arguments. If they are
68-
used, they must be named ``r0``, ``r1`` and ``r2`` to reflect the registers
67+
Inline assembler functions can accept up to 4 arguments. If they are
68+
used, they must be named ``r0``, ``r1``, ``r2`` and ``r3`` to reflect the registers
6969
and the calling conventions.
7070

7171
Here is a function that adds its arguments::

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy