0 0 votes assume that memory is BYTE addressable with word size of 32 bits.the program has been loaded in memory 300(decimal) onwards. if an interrupt occured during the execution of HALT instruction which is stored at 328.what will be the return address pushed on to the stack 1 332 2 328 3 324 4 none CO & Architecture + – focus _GATE 832 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
Best answer 1 1 vote It is mentioned during the execution of Halt instruction, so the instruction execution must be restarted and the return address must be 328 for the interrupt. For completed HALT instruction, the return address must be 328 + 4 assuming size of HALT instruction is one word- 4 bytes. Ref: http://x86.renejeschke.de/html/file_module_x86_id_134.html Arjun answered Jun 24, 2015 • selected Jul 8, 2019 by Bikram Arjun comment Share Follow See all 3 Comments 3 3 Comments reply focus _GATE commented Jun 24, 2015 reply Follow flag sir,suppose when HALT instruction is executing in the processor and then interrupt comes than the return address will be of next instruction na.i,e 332.?? 0 0 replyShare Gate Mm commented Dec 11, 2015 reply Follow flag why this plus 4 sir? 0 0 replyShare Arjun commented Dec 11, 2015 reply Follow flag thats assuming 4 bytes for HALT instruction 0 0 replyShare Please log in or register to add a comment.