We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

# CS501 - Advanced computer architecture_Spring_2015 Assignment # 1 Due date: Thursday, May 21, 2015

Assignment # 1

Marking scheme: 3 x 5 = 15

Due date: Thursday, May 21, 2015

Instructions:

It should be clear that your assignment will not get any credit if:

• The assignment is submitted after the due date.
• The submitted assignment does not open or file is corrupt.
• The assignment is found to be copied from the internet.
• The assignment is found to be copied from other student.
• The assignment submitted is not according to required file format (.doc).

Objective:

The objective of this assignment is:

• To assess your overall understanding of registers and operations.
• To assess your overall understanding of RTL notations operations.
• To assess your overall understanding of use arithmetic and logical operations in RTL.

Note:

• The assignment should be in .doc/docx format.
• Assignment 01 covers lecture 1-7. You can also consult reference books for help.
• Students are advised to submit their assignment as early as possible in order to avoid any sort of inconvenience like Load shedding etc.

Question: Write (Register Transfer Language) RTL notations against the given five statements.

 S. No. Instruction Type Description RTL Notation 0 (Sample) The Falcon A arithmetic addition instruction of the type 4 (Sample) States that, the contents of Register R [2] are added with contents of Register R [5] and result is placed in R [4]. (Sample) R [4] ß  R [2] + R [5] 1 The Falcon-A arithmetic subtract instruction of the type 4, “Contents of Register R2 are subtracted by 56 and result is placed in R[1]” 2 The divde instruction of Falcon-A or type 4. The contents of R[6] are divided by R[3] and the result would be placed in two registers R[5] and R[0] because the result will always be of 32 bits, so two operent are of 16 bits are store in these two registers 3 A logical instruction of type 4 of Falcon-A processor performing “OR” operator The contents of R [3] and R [1] are places the result in R [4] after performing “OR” operator 4 The data transfer instruction of type C of Falcon-E processor Go to the IO address indicated by the contents of Register R [4] add 10 to it and after fetching the data from this IO port places it in the register R [7] 5 A data transfer instruction of the processor Falcaon-A and is a store instruction The contents of the Register R [3] are  placed in the memory location  given by the Register R[1] plus 13

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

Views: 5173

Attachments:

### Replies to This Discussion

AKhter Aziz I think M[R[1]+13]← R[3] hy because R [3] K CONTENT PLACE KRNY HAIN.

any one help me k 2nd ka kya ans ho ga ????

Angel Anam solution is sound........

baqi sb thek hain and 2nd ka cnfrm nh

1. Sub r4, r2, 56

R[4] ←R[2]-56

2. div r5, r6, r3

3. or r4, r3, r1

R[4]← R[3]~R[1]

4. lds R7, R4(10)

R[7]←M[R[4]+10]

5. store r3, [r1+13]

M[R[1]+13]←R[3]

1) R [1]   M [56] – R [2]

2) R [4]← R [3] ~ R [1]

5) M [R [1] + 13]← R [3]

0. (Sample) R [4]  R [2] + R [5]
1. R [1]  R [2] +(- 56)
2. R [5]  R [0] © R [6] / R [3]
3. R [4]  R [3] ~ R [1]
4. IO[R [4]+10] R[7]]

kya ye assigment thek hy  plzzzzzzzzzzzzzzz tell me

Attachments:

2nd and 4th question nahi sahi i think

any one is here who discuss 2nd question

Assignment no 01 full solution uploaded now check it at below link

give me solution plz

## Latest Activity

1 hour ago

### CS605 GDB Fall 2020 Solution / Discussion Due Date: 10-dec-2020

4 hours ago
shifa arshad joined +M.Tariq Malik's group

### CS605 Software Engineering-II

4 hours ago
иαвєєℓ αнмє∂ and Ali Fahad joined +M.Tariq Malik's group

### MGT503 Principles of Management

5 hours ago
6 hours ago
shifa arshad joined +M.Tariq Malik's group

### MGT502 Organizational Behavior

6 hours ago
7 hours ago
+ ᴄᴏғғᴇᴇ updated their profile
7 hours ago
Rizwan Mushtaq joined +M.Tariq Malik's group

### HRM626 Recruitment and selection

7 hours ago
Arooj Shahid liked 乇ﾒ-丂ｲひり3刀ｲ.'s discussion *** My Drawing ***
8 hours ago
Arooj Shahid liked 乇ﾒ-丂ｲひり3刀ｲ.'s discussion *** الوداع اردو ***
8 hours ago
Arooj Shahid liked Miss. Churhail's discussion LOVE YOUR LIFE!!!!!
8 hours ago
8 hours ago
Arooj Shahid liked Omar's discussion Dua
8 hours ago
+!!! ❤️ Shadow Girl❤️!!! liked 乇ﾒ-丂ｲひり3刀ｲ.'s discussion *** الوداع اردو ***
8 hours ago
8 hours ago
9 hours ago
9 hours ago
Saba Shahzadi, waqar, Hammad Syed and 12 more joined Virtual University of Pakistan
9 hours ago
9 hours ago