Hacker News new | ask | show | jobs
by kaushiks 3200 days ago
This has nothing to do with memory. The x86_64 ABI returns values from functions in the RAX register.
1 comments

Sure; same point applies though -- just because 0 happens to be in RAX doesn't mean it's defined behavior.