Question
Download Solution PDFConsider the following sequence of micro operations :
MBR ← PC
MAR ← X
PC ← Y
MEMORY ← MBR
Which one of the following is possible operation performed by this sequence ?
Answer (Detailed Solution Below)
Detailed Solution
Download Solution PDFCorrect Answer: Option 4) Initiation of interrupt service
Key Points
Let's examine the steps one by one:
- MBR ← PC:
- The content of the Program Counter (PC), which holds the address of the next instruction to be executed, is copied to the Memory Buffer Register (MBR).
- This is typically done to save the return address before jumping to an interrupt service routine (ISR).
- MAR ← X:
- The Memory Address Register (MAR) is loaded with the address X.
- This is the location where the return address (in MBR) will be stored.
- PC ← Y:
- The Program Counter is updated to Y, which points to the start of the ISR.
- This redirect of the control flow to a new memory location is characteristic of interrupt handling.
- MEMORY ← MBR:
- The value in the MBR (the original PC value) is stored in memory at the address specified by MAR (which is X).
- This effectively saves the return address so that the CPU can resume the original program after servicing the interrupt.
Therefore, this sequence of micro-operations matches the typical behavior during the initiation of an interrupt service routine, where:
- The current execution state (PC) is saved,
- The PC is redirected to the ISR location.
Final Answer: Option 4) Initiation of interrupt service
Last updated on Jul 3, 2025
-> NIELIT Scientific Assistant answer key 2025 has been released at the official website.
-> NIELIT Scientific Assistant admit card 2025 has been released.
-> NIELIT Scientific Assistant city intimation slip 2025 has been released at the official website.
-> NIELIT Scientific Assistant exam 2025 is scheduled to be conducted on June 28.
-> A total number of 113 revised vacancies have been announced for the post of Scientific Assistant in Computer Science (CS), Information Technology (IT), and Electronics & Communication (EC) streams.
-> Online application form, last date has been extended up to from 17th April 2025.
->The NIELT has revised the Essential Qualifications for the post of Scientific Assistant. Candidates must possess (M.Sc.)/ (MS)/ (MCA) / (B.E.)/ (B.Tech) in relevant disciplines.
-> The NIELIT Scientific Assistant 2025 Notification has been released by the National Institute of Electronics and Information Technology (NIELIT).