2,053 views
3 votes
3 votes

Consider that the memory is byte addressable with size 16 bits, and the program has been loaded starting from memory location (2000)10. What will be the return address saved in the stack, if an interrupt occurs while the CPU has been halted after executing the HALT instruction?

I am getting 2018.

1 Answer

2 votes
2 votes

 CPU has been halted after executing the HALT instruction.

it should be 2018.

Related questions

30 votes
30 votes
2 answers
2
go_editor asked Apr 23, 2016
9,926 views
Consider the following program segment. Here $\text{R1, R2}$ and $\text{R3}$ are the general purpose registers.$$\begin{array}{|l|l|l|c|} \hline & \text {Instruction} & \...
35 votes
35 votes
5 answers
3
go_editor asked Apr 23, 2016
9,438 views
Consider the following program segment. Here $\text{R1, R2}$ and $\text{R3}$ are the general purpose registers.$$\small \begin{array}{|c|l|l||c|} \hline & \text {Instruct...
55 votes
55 votes
5 answers
4
Kathleen asked Sep 21, 2014
22,081 views
Consider the following program segment. Here $\text{R1, R2}$ and $\text{R3}$ are the general purpose registers.$$\begin{array}{|l|l|l|c|} \hline & \text {Instruction} & \...