Answered step by step
Verified Expert Solution
Question
1 Approved Answer
6. This question is about a 64 bit RISC CPU which has a call (or calla) instruction which works exactly the same way as these
6. This question is about a 64 bit RISC CPU which has a call (or calla) instruction which works exactly the same way as these instructions in Y86-64 (or Intel X86-64). Suppose an assembly language program with the following instruction: call function1 The address of this call instruction is 0x2000, and the address of the function1 label is Ox3008. a. What return address will be pushed onto the stack when the call instruction above is executed? b. What address will be in the PC immediately after this instruction is executed (that is, before the next instruction begins execution)? 6. This question is about a 64 bit RISC CPU which has a call (or calla) instruction which works exactly the same way as these instructions in Y86-64 (or Intel X86-64). Suppose an assembly language program with the following instruction: call function1 The address of this call instruction is 0x2000, and the address of the function1 label is Ox3008. a. What return address will be pushed onto the stack when the call instruction above is executed? b. What address will be in the PC immediately after this instruction is executed (that is, before the next instruction begins execution)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started