In x86-32 assembly, parameters are stored on the stack but in x86-64, parameters stored in registers. What is the reason for this?
It is (a lot) faster to access CPU registers than to access RAM.
Since 64bit CPU have a lot more general purpose registers (has nothing to do with being 64bit, it's just because they are newer/bigger), it makes sense to make use of them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With