CS401 1st assigment
Posted: Mon Apr 09, 2012 6:17 pm
last submit date: Due Date:16 April, 2011
Instructions
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:
The assignment is submitted after due date.
The submitted assignment does not open or file is corrupt.
Solution is copied from any other source.
Note: You have to upload only .doc file. Assignment in any other format (extension) will not be accepted.
Objective
The objective of this assignment is to enhance your knowledge about;
Physical address calculation
Branching
Question No. 1:
Calculate physical address of your AFD window contains CS and IP register (segment offset pairs).
Explain each and every step for calculating the physical address.
(Calculation:4 marks
Explanation:3 marks
Snapshot:3 marks )
Note: Provide snapshot of your AFD window. Please give us this type of your AFD window and mention which segment register value and offset value you have used for calculating physical address. Please see below sample snapshot.
snapshort not copy.
Question No. 2:
Write a program to add these 8 numbers (15, 20, 25, 30, 35, 40, 45, and 50) with using conditional jump. Explain each instruction of program in your own words.
( Program:5 marks
Snapshot: 5 marks )
Note: Provide snapshot of your program which will be run in AFD window. It is strictly prohibited the copied assignment.
Instructions
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:
The assignment is submitted after due date.
The submitted assignment does not open or file is corrupt.
Solution is copied from any other source.
Note: You have to upload only .doc file. Assignment in any other format (extension) will not be accepted.
Objective
The objective of this assignment is to enhance your knowledge about;
Physical address calculation
Branching
Question No. 1:
Calculate physical address of your AFD window contains CS and IP register (segment offset pairs).
Explain each and every step for calculating the physical address.
(Calculation:4 marks
Explanation:3 marks
Snapshot:3 marks )
Note: Provide snapshot of your AFD window. Please give us this type of your AFD window and mention which segment register value and offset value you have used for calculating physical address. Please see below sample snapshot.
snapshort not copy.
Question No. 2:
Write a program to add these 8 numbers (15, 20, 25, 30, 35, 40, 45, and 50) with using conditional jump. Explain each instruction of program in your own words.
( Program:5 marks
Snapshot: 5 marks )
Note: Provide snapshot of your program which will be run in AFD window. It is strictly prohibited the copied assignment.