Sunday, 05 20th

Last update09:44:47 AM

Login With Facebook

Combinestudy

CS401 Fall2011 First Assignment

Assignment No. 01
Semester: Fall 2011

CS401: Computer Architecture and Assembly Language Programming

Total Marks: 20

Due Date:2nd Nov, 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;

  • Basic concepts of Computer Architecture and Assembly language
  • Addressing in assembly language
  • Physical address calculation
  • Relationship between Address bus and Memory

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)

b. An architecture B has a maximum limit of 2GB memory. How many address bits are required for this architecture? (Show the steps for calculating required number of address bits) (5 marks)

Question No. 2:

What are the first and the last physical memory addresses accessible using the following segment values? (2 mark each)

  1. 0000
  2. FFFF

Question No. 3:

Calculate physical address using the following segment offset pairs.

(1 mark each)

  1. ABCD:1234
  2. 1234:ABCD

Question No. 4:

What is effective address generated by the following instructions? Every instruction is independent of others. Initially BX = 0xFF00, SI=0x00FF

(1 mark each)

  1. mov ax, [BX+SI]
  2. mov ax, [BX+1024] (1024 is in decimal)

Question No. 5:

What are the contents of memory locations 720, 721, 722 and 723 if the word 4321 is stored at offset 720 and the word 8765 is stored at the offset 722 using Big Endean format? (2 marks)

Address

Contents

 

0x720

 

0x721

 

0x722

 

0x723

 

 

upload assignment
Upload your Solution