Sunday, 05 20th

Last update09:44:47 AM

Login With Facebook

Combinestudy

CS401 Spring 2012 Second Assignment

Rate this item
(0 votes)
(a)Assemble the following instructions and show the changes in given Accumulator register and flags after each instruction                              (Marks 5)
 

CS401 Frist Assignemnt Spring 2012 Solution

Rate this item
(0 votes)

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

Rate this item
(1 Vote)

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

Rate this item
(0 votes)

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

Rate this item
(0 votes)

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)