summaryrefslogtreecommitdiffstatshomepage
path: root/docs/reference/asm_thumb2_hints_tips.rst
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-12-15 11:49:22 +1100
committerDamien George <damien@micropython.org>2021-12-15 11:49:22 +1100
commitd9d67adef1113ab18f1bb3c0c6204ccb210a27be (patch)
treec1806e1109c043c89023253472d11909ccec7fa9 /docs/reference/asm_thumb2_hints_tips.rst
parent5ca56aaf166c3e7cda178dfe809f8caf599b1dff (diff)
downloadmicropython-d9d67adef1113ab18f1bb3c0c6204ccb210a27be.tar.gz
micropython-d9d67adef1113ab18f1bb3c0c6204ccb210a27be.zip
docs: Remove trailing spaces and convert tabs to spaces.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/reference/asm_thumb2_hints_tips.rst')
-rw-r--r--docs/reference/asm_thumb2_hints_tips.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/reference/asm_thumb2_hints_tips.rst b/docs/reference/asm_thumb2_hints_tips.rst
index 062a3c8448..361e44380b 100644
--- a/docs/reference/asm_thumb2_hints_tips.rst
+++ b/docs/reference/asm_thumb2_hints_tips.rst
@@ -3,7 +3,7 @@ Hints and tips
The following are some examples of the use of the inline assembler and some
information on how to work around its limitations. In this document the term
-"assembler function" refers to a function declared in Python with the
+"assembler function" refers to a function declared in Python with the
``@micropython.asm_thumb`` decorator, whereas "subroutine" refers to assembler
code called from within an assembler function.
@@ -106,8 +106,8 @@ function can return multiple values by assigning them to array elements.
Assembler functions have no means of determining the length of an array:
this will need to be passed to the function.
-This use of arrays can be extended to enable more than three arrays to be used.
-This is done using indirection: the ``uctypes`` module supports ``addressof()``
+This use of arrays can be extended to enable more than three arrays to be used.
+This is done using indirection: the ``uctypes`` module supports ``addressof()``
which will return the address of an array passed as its argument. Thus you can
populate an integer array with the addresses of other arrays: