Gate CS-2004 Question Paper With Solutions

Q. 25Gate CS-2004 Question Paper With Solutions

Consider that the memory is byte addressable with size 32 bits, and the program

has been loaded starting from memory location 1000 (decimal). If an interrupt

occurs while the CPU has been halted after executing the HALT instruction, the

return address (in decimal) saved in the stack will be

(A) 1007

(B) 1020

(C) 1024

(D) 1028

Answer: (D)

Explanation:

Gate CS-2004 Question Paper With Solutions

Learn More:   Gate CS-2013 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here