uc3m_cs

Materials used for Computer Structure

Exercise 1

(statement)

Fill in the following table with the elementary operations and control signals associated to the instruction "BEQ Rf1, Rf2, desp".
Cycle Elemental Op. Activated signals (rest are 0)
... ... ...

(solution)

Cycle Elemental Op. Activated signals (rest are 0)
0 Rf1 - Rf2 SelA=10101, SelB=10000, SelCop=1011, MC, C7, M7, SelP=11, C=0000, B=0, A0=0
1 If (Z == 0)
     goto fetch
else next
MADDR=0, C=0110, B=1, A0=0
2 RT1 ← PC T2, C4, C=0000, B=0, A0=0
3 RT2 ← IR (dir) Size = 10000, Offset=00000, T3, C5, C=0000, B=0, A0=0
4 PC ← RT1 +RT2 MA, MB=01, SelCop=1010, MC, T6, C2, C=0000, B=1, A0=1