CS501 - Advance Computer Architecture Assignment No. 2 Discussion & Solution Spring 2019 Due Date: June 03, 2019 

Assignment No. 02

Semester: Spring 2019

Advance Computer Architecture – CS501

 

Total Marks: 20

 

Due Date:  03-06-2019

Please carefully read the following instructions before attempting assignment

Objective of Assignment

            Objective of this assignment is to increase the learning capabilities of the students about:

·         Falcon-A ISA

·        Reverse Assembly of Falcon-A instructions

·        External Interface of Falcon-A CPU

·         Address Bus and Data Bus in CPU

 

Rules for Assignment

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

·        The assignment is submitted before or on the due date.

·         The submitted assignment file is not corrupted or damaged.

·         The assignment is not copied (from another student or internet).

 

Uploading Instructions

            Read the following instructions carefully before uploading assignment:

·         Upload/Submit assignment in your VULMS assignment interface.

·         No assignment will be accepted through email.

·         Your assignment must be with .doc extension. (Any other format will not be accepted)

 

NOTE

No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning etc.). Hence, refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.

 

If you find any mistake or confusion in assignment (Question statement), please consult with your instructor before the deadline. After the deadline, no queries will be entertained in this regard. Moreover, keep checking announcements section.

 

For any query, feel free to email at:

cs501@vu.edu.pk

 

 

Question # 01

Consider the hexadecimal codes given below. Each hexadecimal code belongs to a Falcon-A instruction. You are required to reverse assemble each of the given codes into its equivalent Falcon-A instruction.

 

Hexadecimal Code

Falcon-A Instruction

3C20

 

BE00

 

4D4A

 

2CE8

 

8A14

 

 

Question # 02

Consider the below given Table 1 which shows the contents of some of the registers of Falcon-A and Table 2 which shows the memory contents stored at different memory addresses.

 

You are required to use the information provided in Table 1 and Table 2 and find out the contents of 16-bit address bus and 16-bit data bus for each instruction given in Table 3. Assume that memory is byte aligned and each register can store 2 bytes of data.

 

Register

Contents

R[0]

A123h

R]1]

2380h

R[2]

5602h

R[3]

4002h

R[4]

3600h

R[5]

1410h

Table 1 Falcon-A Register Contents

 

Memory Address

Memory Contents

Memory Address

Memory Contents

5610h

30h

6380h

61h

5611h

25h

6381h

40h

5612h

88h

6382h

00h

5613h

80h

6383h

12h

Table 2 Falcon-A Memory Contents

 

 

 

Instruction

Address Bus

<15… 0>

Data Bus

<15… 0>

STORE R5, [R2+14]

 

 

LOAD R4, [R1+R3]

 

 

Table 3 Address Bus and Data Bus Contents for Falcon-A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Best of Luck

 

Tags: &, -, 03, 2, 2019, Advance, Architecture, Assignment, CS501, Computer, More…Date:, Discussion, Due, June, No., Solution, Spring

Views: 363

Attachments:

SPONSORED LINKS

SPONSORED LINKS

© 2019   Created by Irfan Khan MSCS.   Powered by

Badges  |  Report an Issue  |  Terms of Service