CS401- Computer Architecture and Assembly Language Programming Assignment # 1 Fall 2013

View previous topic View next topic Go down

GMT - 3 Hours CS401- Computer Architecture and Assembly Language Programming Assignment # 1 Fall 2013

Post by saleha on Wed Nov 13, 2013 3:49 pm

Computer Architecture and Assembly Language Programming
Assignment # 1(Non-Graded)

Total marks = 20


Deadline Date = November 20, 2013



Rules for Marking

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

(i) The assignment is submitted after the due date.
(ii) The submitted assignment does not open or file is corrupt.
(iii)Strict action will be taken if submitted solution is copied from any other student or from the internet.

1)You should concern recommended books to clarify your concepts as handouts are not sufficient.
2)You are supposed to submit your assignment in .doc format. Any other formats like scan images, PDF, zip, rar, bmp etc will not be accepted.


Q 1: Calculate physical address for the following segment-offset pairs: Marks [5+5]

a.0FF1:1234

b.1568:A23A


Q 2: Write an assembly language code to calculate arithmetic mean of the following Array elements and store result in DX. Marks [10]

Array = 1, 2, 3, 4, 5, 4, 3, 2, 1

Also attach snapshot of AFD window showing the arithmetic mean in DX register.


Best of luck!
avatar
saleha
Monstars
Monstars

Pisces Dragon
Posts : 469
Join date : 2012-01-28
Age : 29
Location : ...
--Mood-- : Blah

Back to top Go down

View previous topic View next topic Back to top


Permissions in this forum:
You cannot reply to topics in this forum