CS401 Spring 2012 Second Assignment
CS401 Frist Assignemnt Spring 2012 Solution
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.
CS401 Fall 2011 4th Assignment
You are required to write an Assembly Terminate and Stay Resident (TSR) program that will sort an array of numbers 2, 1, 4, 3, 6, 5, 8, 7, 10, 9. The program will perform the following operations.
CS401 Fall 2011 2nd Assignment
Question No. 1: 5 Marks
Write and execute the following Assembly language program on your system and tell what will be the value of BX register at the end of this program?
[org 0x0100]
Mov bx, 0x8765
Ror bx,8
mov ax, 0x4c00
int 0x21
Note: In above program 8765 is used as an example. You have to put last four digits of your roll number there.
CS401 Fall2011 First Assignment
Question No. 1:
a. Suppose architecture A has 14-bit address bus. What is maximum size of memory that can be accessed in this architecture? (Show the steps for calculating maximum accessible memory) (5 marks)
