Computer Architecture and Assembly Language Programming (CS401) Assignment # 1

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 2

Computer Architecture and Assembly Language

Programming (CS401)
Assignment # 1(Non!raded)
"otal mar#s $ %0
&eadline &ate $ No'ember %0( %01)
Please carefully read the following instructions before attempting assignment.
*ules +or ,ar#ing
It should be clear that your assignment would not get any credit if:
The assignment is submitted after the due date.
The submitted assignment does not open or file is corrupt.
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.
) You are supposed to submit your assignment in -doc +ormat- !ny other formats like
scan images" P#$" %ip" rar" bmp etc will not be accepted.
Note.
&o assignment will be accepted after the due date 'ia email in any case (whether it is the
case of load shedding or internet malfunctioning etc.). )ence 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.
$or any *uery" feel free to email at:
cs+,1-'u.edu.pk
/ 1. Calculate physical address +or the +ollo0ing segmento++set pairs.
a- 0111.1%)4
b- 1234.A%)A
.arks /0102
/ %. 5rite an assembly language code to calculate arithmetic mean o+ the +ollo0ing
Array elements and store result in &6-
Array $ 1( %( )( 4( 2( 4( )( %( 1
Also attach snapshot o+ A1& 0indo0 sho0ing the arithmetic mean in &6 register-
.arks /1,2
7est o+ luc#8

You might also like