are stored in registers instead of memory , any idea why this ? , why they need to be handled differently than fixed number parameters
Who told you that registers are not used for fixed number of function params?
i re asked chat gpt , bad info
Don't ask chatgpt for stuff you have no idea about, it often tells you incorrect information. Yeah some compilers use different calling conventions (i need to check this but afaik gnu doesn't) to pass same no of arguments whether the function takes variable or fixed arguments. Read up on the x86_64 calling convention for x86_64 platform specific details
Thanks so much for pointing out to this subject i have learned interesting things like instruction pointer register types etc ... And still going on
ChatGPT is an elegant liar...
a lawyer one
Обсуждают сегодня