Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
non-destructive text micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
badge fixer
non-destructive text micropython
Commits
4a6cac46
Commit
4a6cac46
authored
Mar 17, 2016
by
Peter Hinch
Committed by
Damien George
Mar 17, 2016
Browse files
Options
Downloads
Patches
Plain Diff
docs: Update asm tutorial, maximum number of allowed args is now 4.
parent
99146ea4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/pyboard/tutorial/assembler.rst
+2
-2
2 additions, 2 deletions
docs/pyboard/tutorial/assembler.rst
with
2 additions
and
2 deletions
docs/pyboard/tutorial/assembler.rst
+
2
−
2
View file @
4a6cac46
...
@@ -64,8 +64,8 @@ This code uses a few new concepts:
...
@@ -64,8 +64,8 @@ This code uses a few new concepts:
Accepting arguments
Accepting arguments
-------------------
-------------------
Inline assembler functions can accept up to
3
arguments. If they are
Inline assembler functions can accept up to
4
arguments. If they are
used, they must be named ``r0``, ``r1`` and ``r
2
`` to reflect the registers
used, they must be named ``r0``, ``r1``
, ``r2``
and ``r
3
`` to reflect the registers
and the calling conventions.
and the calling conventions.
Here is a function that adds its arguments::
Here is a function that adds its arguments::
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment