CS501: Advanced Computer Architecture
Assignment No. 02
Semester: Fall 2013


Total Marks: 20
Due Date 5 December, 2013

Question 1: Marks 15
Suppose you have eight general purpose registers ( ra, rb, rc, rd, re, rf, rg and rh). You are required to complete the instruction fetch-execute cycle of register-to-register sub (subtract) and add (addition) instructions. Also specify the corresponding type of structural RTL.
You are required to solve:
1.1. Type of structural RTL (Register Transfer Language) 1 Mark
1.2. Fetch-execute cycle of the register-to-register Add instruction 7 Marks
1.3. Fetch-execute cycle of the register-to-register Sub instruction 7 Marks

Question 2: Marks 1+1+1+1+1=5
.
Briefly explain the following RTL (Register Transfer Language) notations:
i. R [4]←R [3] + (-32)

ii. R[2] ←R[0] İR[5]/R[7]

Sponsored Links

iii. R [1]← R [2] ~ R [5]

iv. IO[R [2]+1]← R[1]]

v. M[R [2] +14] ← R [4]