www.vustudents.ning.com

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

# Assignment No. 02 Semester: Spring 2013 CS501: Advanced Computer Architecture,Total Marks: 20 Due Date: 06-05-13

Assignment No. 02
Semester: Spring 2013

CS501: Advanced Computer Architecture

Total Marks: 20

Due Date:  06-05-13

Instructions

Please read the following instructions carefully before assignment submission.

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 Register Transfer Language and its notations.
• To assess your overall understanding of binary encoding of Computer Instructions.
• To assess your overall understanding of how data is being processed in Registers and memory.

Note:

• The assignment should be in .doc format.
• Assignment .02 covers lecture 6-10. 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 No 1:                                                 Marks 1+1+1+1+1=5

Q. 1.                        Briefly explain the following Register Transfer Language (RTL) notations:

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]+1]ß  R[7]]

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

Question No 2: Fill the given table by specifying binary encoded values against each instruction.

Marks 15

 Instruction Type OP-Code Ra Rb Rc C1 C2 Addressing mode RTL Description Condition PC status ori r2, r4, 9 jnz r1, [27] Out  7,R5(30) Load R[6]+99] Jmi  R3,[7]

Note: You may write N/A in a cell not relevant to any instruction.

GOOD LUCK!

Views: 5457

Attachments:

### Replies to This Discussion

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.

Yeh kya bat hui abi aik asiment itni mushkl sy hui or b aa gi yeh khula tazzaad ni hy?????

hahaha yeh khula tazzaad ni hy?????   midterm sy pehly 3 assignments hai cs 501 ki  so be ready .......solution boht asan hai., paper work complete hai mera

TO PLZ SHARE KR DAIN BFSS

plz check before making assignment kio mistake ho to plz tell me

for question 1 see lect 8 agar kahian problem agai to phir discuss kerain gai

share nai karogi kiun k aisy wording similar ho jai gi . hope u will understand

Thanx BFSS

question No 2 Fill the given table by specifying binary encoded values against each instruction.

1. fill the table values by their binary equivalents before submitting ur assignment
2. in the instruction Jmi R3, [7]correct the column  (Rtl description ) As R[3]<0: pc> Pc+7, its R3 not R1

sallam to all
kisi k pass refference book he , to plz share karen,
thanks

Q 1:

1) yeh aik subtraction process ha. jis main 56 ki value r2 ki value say subtract ho gi n result r1 main store ho ga.

is it correct BFSS???

yes,

1)    R [1] ....>  R [2] + (-56)

it is an add instruction but due negative immediate constant in actual subtraction will be carried out.

c1 and c2 are well explained in lectures ISA ka instruction set read kain falcon ka ker lain yan eagle clear ho jai ga. instruction types aur unki figures ko dahky .....

1

2

3

4

5

## Latest Activity

Hira replied to Hira's discussion Pad603 gdb in the group PAD603 Governance, Democracy and Society
2 hours ago
Hira added a discussion to the group PAD603 Governance, Democracy and Society

2 hours ago
Hira left a comment for + M.Tariq Malik
2 hours ago
2 hours ago
Hira joined + M.Tariq Malik's group

### PAD603 Governance, Democracy and Society

2 hours ago
Hira and Junaid [MAF] joined + M.Tariq Malik's group

2 hours ago
2 hours ago
2 hours ago