Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David J. Auer David M. Kroenke

13th Edition

B01366W6DS, 978-0133058352

More Books

Students also viewed these Databases questions

Question

Who are the participants in securities lending?

Answered: 1 week ago

Question

politeness and modesty, as well as indirectness;

Answered: 1 week ago