summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPeter Hinch <peter@hinch.me.uk>2016-03-17 11:24:05 +0000
committerDamien George <damien.p.george@gmail.com>2016-03-17 20:17:40 +0000
commit4a6cac464355fcbb3ada8f1c491ccfdd53f41b01 (patch)
tree569ee709036cc2ac189846bf6a2214501e6f3bd3
parent99146ea4445736ccd982e8ce18f3b8c2a8cebfec (diff)
downloadmicropython-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.rst4
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::