mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
add comment about variadic functions in abi
This commit is contained in:
parent
f8cd43adc4
commit
17cba8793e
3
lisc/ABI
3
lisc/ABI
@ -36,6 +36,9 @@ Passing:
|
||||
on the stack.
|
||||
- When all registers are taken, write arguments on the
|
||||
stack from right to left.
|
||||
- When calling a variadic function, %al stores the number
|
||||
of vector registers used to pass arguments (it must be
|
||||
an upper bound and does not have to be exact).
|
||||
- Registers %rbx, %r12 - %r15 are callee-save.
|
||||
|
||||
Returning.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user