QUESTION 3 Suppose we have an assembly routine which begins like this: chop: # save the old stack frame * set up a new stack frame # reserve space for and initialze the local variable long a # reserve...


Need help with computer science questions


QUESTION 3<br>Suppose we have an assembly routine which begins like this:<br>chop:<br># save the old stack frame<br>* set up a new stack frame<br># reserve space for and initialze the local variable long a<br># reserve space for and initialze the local variable long b<br>pushq %rbp<br>movą trsp, trbp<br>pushq $0<br>pushq $20<br>Relative to the register %rbp, what assembly operand would we use to refer to:<br>The local variable a?<br>The 8th input argument to the chop procedure (assuming that all input args use the long datatype)?<br>

Extracted text: QUESTION 3 Suppose we have an assembly routine which begins like this: chop: # save the old stack frame * set up a new stack frame # reserve space for and initialze the local variable long a # reserve space for and initialze the local variable long b pushq %rbp movą trsp, trbp pushq $0 pushq $20 Relative to the register %rbp, what assembly operand would we use to refer to: The local variable a? The 8th input argument to the chop procedure (assuming that all input args use the long datatype)?

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here