• edited by
973 views
1 1 vote

The instruction $LDA$ $FF0$ (machine code of $LDA$ is $5$) is stored in location $7F0$. The contents in memory location $FF0$  are loaded into accumulator.  After its execution, accumulator stores value $8$. The figure below shows a snapshot of the registers and their contents.

Immediately after the fetch cycle of the $1^{st}$ instruction ($LDA$ $FF0$), the values in $MAR$,  $IR$ and $MBR$ are:

 

  1. $MAR = FF0$,  $IR = 5FF0$, $MBR = 5FF0$
  2. $MAR = 7F0$,   $IR = 5FF0$, $MBR = 0008$
  3. $MAR = 7F0$,   $IR = 5FF0$, $MBR = 5FF0$
  4. $MAR = FF1$, $IR = 5FF0$, $MBR = 7F0$

1 Answer

Best answer
2 2 votes
Step 1: PC will send the address of the instruction to the MAR

So MAR will contain the address of the instruction 5FF0 i.e 7F0

Now After the instruction is fetched,

Step 2: The result of memory access will be provided to MBR through system BUS, i.e the Instruction Itself

MBR contains 5FF0

Step 3: And further the contents of MBR will be provided to IR(Instruction Register) to store the instruction for the further decoding phase
• edited by
Position:
Show:

Related questions

1 1 vote
0 0 answers
409
409 views
lalitver10 asked Jan 12, 2023
409 views
Question : i. CISC architecture a. Symmetric registersii. RISC architecture b. Multiple memory referencesiii. Misalignment c. Condition code regis...
0 0 votes
0 0 answers
580
580 views
rsansiya111 asked Dec 8, 2021
580 views
Consider the following code :Load R1,MLoad R2,NCMP R1,R2JGE ENDStore [300],R2END: Store [300],R1 Assume that M=30 and N=25. The above sequence of instructions is to be ex...
3 3 votes
1 answers 1 answer
1.6k
1.6k views
LRU asked Dec 4, 2021
1,553 views
Consider a direct-mapped cache with 64 blocks and a block size of 16 bytes. Byte address 1200 will map to block number ………… of the cache.
3 3 votes
1 answers 1 answer
1.0k
1.0k views
LRU asked Dec 4, 2021
1,038 views
Consider a two-level memory hierarchy with separate instruction and data caches in level 1, and main memory in level 2. The clock cycle time in 1 ns. The miss penalty is ...