gcc 64-bit (assembly) information

Katana Steel webmaster@keenan.dk
Mon Sep 3 13:02:00 GMT 2007



I had to see gdb disassembled output to figure out how
gcc passes parameter to functions calls.

it seems it passes them in register instead of using the
stack as its 32-bit counter part does.

now I wonder is there documentation that defines how
this is done? 

is there a threshold of how many parameter it can pass
this way before using the stack or some other means?

best regards
Katana Steel
-- as life grows older, I gain experience.
-- 
View this message in context: http://www.nabble.com/gcc-64-bit-%28assembly%29-information-tf4371985.html#a12461111
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list