Assignment No. 1 Graded: Semester Fall 2015 Computer Architecture and Assembly Language Programming - CS401 Objective

You might also like

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

Assignment No.

1
Graded

Total Marks: 20
Due Date: 23

November,
2015

Semester Fall 2015


Computer Architecture and Assembly Language
Programming CS401
Objective:

The assignment has been designed to enhance your knowledge about how to write assembly program using
branching.
Instructions:
Please read the following instructions carefully before solving & submitting assignment:
1. The assignment will not be accepted after due date.
2. Zero marks will be awarded to the assignment that does not open or the file is corrupt.
3. The assignment file must be an MS word (.doc) file format; Assignment will not be accepted in any
other format.
4. Zero marks will be awarded to the assignment if copied (from other student or copied from handouts
or internet).
For any query about the assignment, contact only at CS401@vu.edu.pk
Do not post queries related to assignment on MDB.

GOOD LUCK
Question: 1

[20 Marks]

Write an Assembly code to add following fifteen odd numbers with using conditional jump. Explain each
instruction of program and also provide/paste snapshot of your assemble and debug program result which will
be run in AFD (A Full Screen Debugger) window showing the executed code final results in AX register.
Odd numbers: 3, 5, 7, 9, 11, 13, 15, 17, 19, 21,23,25,27,29,31
( Program:15 marks
Snapshot: 5 marks )

You might also like