CSCI 311     Homework 3

 

 

1. What must be changed in the pipelined datapath to allow:
    a.  BEZI (Rs), label    which performs "if mem[Rs]=0 then PC=PC+offset
    b.  SWI Rd, Rs(Rt)    which performs Mem[Rs+Rt]=Rd

2.  What are the control signals for each stage of the pipeline for the following instructions:
        a.  add $2, $3 $4
        b.  beq $8, $4, agn