projects
/
scheme.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Can now pass about adts stored on the stack
[scheme.git]
/
abi.md
diff --git
a/abi.md
b/abi.md
index c2ff16575c1da283f8c4d9c63a06d24c5ebe96ce..0dbbcc4942b21515229a11ad8f1945f1c22163a6 100644
(file)
--- a/
abi.md
+++ b/
abi.md
@@
-62,3
+62,8
@@
e.g.
* param 0: pointer to the value of `x`
* param 1: the value of`y`
* param 0: pointer to the value of `x`
* param 1: the value of`y`
+
+# inter-function and stack values
+
+ints, bools and closures are passed around within functions in `%rax`.
+adts are passed on the stack, at whatever stack index the code generation was called with.
\ No newline at end of file