diff options
author | Peter Hinch <peter@hinch.me.uk> | 2016-03-17 11:24:05 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-03-17 20:17:40 +0000 |
commit | 4a6cac464355fcbb3ada8f1c491ccfdd53f41b01 (patch) | |
tree | 569ee709036cc2ac189846bf6a2214501e6f3bd3 | |
parent | 99146ea4445736ccd982e8ce18f3b8c2a8cebfec (diff) | |
download | micropython-4a6cac464355fcbb3ada8f1c491ccfdd53f41b01.tar.gz micropython-4a6cac464355fcbb3ada8f1c491ccfdd53f41b01.zip |
docs: Update asm tutorial, maximum number of allowed args is now 4.
-rw-r--r-- | docs/pyboard/tutorial/assembler.rst | 4 |
1 files changed, 2 insertions, 2 deletions
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:: |