Course Solutions Uncategorized (Solved) : Consider Function Foo Standard X86 Calling Convention Including Use Frame Pointer Threeo I Q31575416 . . . .

(Solved) : Consider Function Foo Standard X86 Calling Convention Including Use Frame Pointer Threeo I Q31575416 . . . .

 

Consider a function foo in the standard x86 calling convention,including the use of a frame pointer, that: • Has threeo integerarguments,

• Calls another a function bar with two integer arguments,

• Has 3 local variables: an integer and two character pointers,and

• Uses only the registers %ebx and %ecx

a. What items will be stored in the activation record for thisfunction, ignoring alignment requirements and return addresses?

b. What actions would the function foo have to perform prior tocalling the function bar?

c. What specific instruction would the function foo use to putits third argument into register %ebx?

d. How will the function foo access the

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post