Question: In Lecture 18, we said that if the callee function had more than 6 arguments, the 7th, 8th, etc... arguments were passed to the callee

In Lecture 18, we said that if the callee function had more than 6 arguments, the 7th, 8th, etc... arguments were passed to the callee function via the stack. In such situation, the caller function needed to store these arguments on the stack in reserve order: Stack Each argument is stored in a quad word "q" (8 bytes) on the stack-even if the argument is a char "b" (1 Arg n byte), a short "w" (2 bytes) or an int "I" (4 bytes). This is to Stored onto say that arguments cannot the stack in be "packed" on the stack Arg 8 reverse order! like local variables can. Arg 7 %rsp Why is that
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
