operations for operations?
Consider the following sequence of micro-operations.
MBR ← PC
MAR ← X
PC ← Y
Memory ← MBR
Which one of the following is a possible operation performed by this sequence?
Answer is option (4).
My attempt :
Can you explain in sequence of micro-operations for operations given in option?
This question uses notation from one of William Stalling's Computer Organization and Architecture textbooks. The question itself does not contain enough background material for someone unfamiliar with Stalling's textbook to answer it (I do not own Stalling's textbook, or know which version this question references).
However, after seeing the comment that pointed to an answer at another site, I Googled for "rules for clock cycle grouping". That led to a bunch of links that pointed to various different sets of slides.
The third link for me was to a powerpoint presentation which included a slide that I have copied below as an image. There was a slide that explained what MAR and MBR stand for:
Memory Address Register (MAR)
Connected to address bus
Specifies address for read or write op
Memory Buffer Register (MBR)
Connected to data bus
Holds data to write or last data read
So it appears that what is happening is that first the PC
is placed in MBR
. Next the address for where the PC
will be saved is copied from X
to MAR
. In the same cycle the PC
is set to the start of the interrupt service routine which is available in Y
. Finally the data in MBR
is transferred on the bus to memory.
上一篇: x86汇编对同一目标的两个跳转指令
下一篇: 操作?