Quote:

The amount of happiness that you have depends on the amount of freedom you have in your heart

Wednesday, 14 March 2012

CS501-Advance Computer Architecture ASSIGNMENT 2


Assignment No. 2
SEMESTER SPRING 2011
CS501-Advance Computer Architecture
Total Marks: 20
Due Date: 02/05/2011
Instructions
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:
o        The assignment is submitted after due date.
o        The submitted assignment does not open or file corrupt.
o        The assignment is copied.
o        There is not mentioned the student Id in the assignment or
           name of file is other than student ID
GOOD LUCK





Question No: 1
Marks: 10
Specify the condition for the branch instruction and the status of the PC after the branch instruction executes with a true branch condition.

Instruction
Condition
PC status
Jump[20]


Jnz r3,[33]


Jz r1,[16]


Jpl r5,[37]


Jmi r7,[40]




Question No: 2
Marks: 10


Identify the addressing modes and Register Transfer Language(RTL) description(meaning) for the given Falcon-A instructions

Instruction
Addressing Mode
RTL description(meaning)
Load r3,[r5+27]


Jnz r5,[15]


Shiftl r3,r2,5


Add r6,r5,r7


Subi r4,r3,17








No comments:

Post a Comment

“You can't change the past, but you can ruin the present by worrying about the future”