Filter by year

Hardwired Control questions

Q4

GATE CS 2020 CSProcessor DesignMCQ1 mark−1/3 if wrong
Consider the following data path diagram.

Consider an instruction: R0←R1+R2R0 \leftarrow R1 + R2. The following steps are used to execute it over the given data path. Assume that PC is incremented appropriately. The subscripts r and w indicate read and write operations, respectively.

1. R2r\text{R2}_r, TEMP1r\text{TEMP1}_r, ALUadd\text{ALU}_{add}, TEMP2w\text{TEMP2}_w
2. R1r\text{R1}_r, TEMP1w\text{TEMP1}_w
3. PCr\text{PC}_r, MARw\text{MAR}_w, MEMr\text{MEM}_r
4. TEMP2r\text{TEMP2}_r, R0w\text{R0}_w
5. MDRr\text{MDR}_r, IRw\text{IR}_w

Which one of the following is the correct order of execution of the above steps?
Question figure
Show answer without attempting

Answer: C

0/10 correct0 marks

Related topics in Processor Design