retagged by
1,050 views
2 votes
2 votes
With reference to the return instruction. Which of the following statement is / are true?

1. The instruction can be used only to take the flow of control back to the program from which it initially jumped.

2.The instruction retrieves the address using the current stack pointer from the stack and alters the control to the program pointed to by it.

3. The instruction works only if the registers used in the main program have been pushed and later popped before its execution.

4.The instruction can be used only in conjunction with the call instruction.

A. 1st and 2nd

B. 2nd only

C. 1st, 2nd and 4

 D. All the statement are true
retagged by

1 Answer

Related questions

1.2k
views
1 answers
4 votes
khushtak asked Oct 19, 2015
1,211 views
 In an n- CPU shared bus system, if z is the probability that any CPU requests the bus in a given cycle, the probability that only one CPU uses the bus is given by-A. Nz(1-z)n-1 B. Z(1-z)n-1C. N(1-z)nD. (N-1)z(1-z)n
1.8k
views
1 answers
4 votes
khushtak asked Oct 19, 2015
1,845 views
Consider 2 pipeline with the following specificationStall cycle for memorypipelineno. Of stagememory1Aksingle port0Bkdual portThe pipeline allows all instructions except memory based instructions. If 2 ... .53      c.  0.94     d. 0.24
1.2k
views
1 answers
0 votes
khushtak asked Oct 19, 2015
1,163 views
Among the branch instructions 30% conditional and 70% of them does not satisfy the condition ( branch not taken). If there is no stall due to them. What is average instruction execution time.A. 28.96ns  b. 30.2 ns c. 32.27 ns  d. 38.96ns
618
views
1 answers
2 votes
khushtak asked Oct 19, 2015
618 views
A hierarical cache memory subsystem has a cache access time of 50ns and the main storage access time is of 500ns . with  the read hit ratio of 0.9, what is the average ... the write through scheme? a. 10 ns  b. 100 ns   c. 50ns    d. 500ns