Tags:
view all tags
---+ Calling C Functions from Forth and Vice Versa Procedure Call Standard for the ARM Architecture [[https://developer.arm.com/documentation/ihi0042/j][AAPCS]] https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/on-the-aapcs-with-an-application-to-efficient-parameter-passing | *Register* | *AAPCS Purpose* | *MECRISP Forth Purpose* | | r0 | Argument, result, scratch register 1 | Scratch | | r1 | Argument, result, scratch register 2 | Scratch | | r2 | Argument, scratch register 3 | Scratch | | r3 | Argument, scratch register 4 | Scratch | | r4 | Variable register 1 | | | r5 | Variable register 2 | | | r6 | Variable register 3 | Top Of Stack TOS | | r7 | Variable register 4 | Data Stack | | r8 | Variable register 5 | | | r9 | Platform register (usage defined by platform in use) | | | r10 | Variable register 7 | | | r11 | Variable register 8 | | | r12 | Intra-procedure-call scratch register | | | r13 | Stack pointer (SP) | Stack pointer (SP) | | r14 | Link register (LR) | Link register (LR) | | r15 | Program counter (PC) | Program counter (PC) | -- %USERSIG{PeterSchmid - 2020-07-13}% ---++ Comments %COMMENT%
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r7
|
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r1 - 2020-07-13
-
PeterSchmid
Home
Site map
Cosmac web
MRR web
MecrispCube web
SuperRandonnee web
TWiki web
Ursula web
Velo web
MecrispCube Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Edit
Attach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback