4.3.5.8 Where are Arguments That Are Passed to Functions Located in Memory?

You will need to run compiler code to determine this. See the application binary interface when running the compiler. Some 29 Built-in Functions may also be helpful. See also:

14.7 Function Call Conventions