Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
saagarjha
on Sept 11, 2019
|
parent
|
context
|
favorite
| on:
Lambdas for C – sort of
> Every single SYSV x64 ABI platform supports at least two uint64_t return values, which are the registers rdi and rax (Actually it might be rbx, I haven't done assembly for a while).
For integer returns, System-V uses rax/rdx.
fao_
on Sept 12, 2019
[–]
Ah! Yes, of course :)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
For integer returns, System-V uses rax/rdx.