View more random threads:
- CS101-Introduction to Computing Assignment 6 July, 2010
- CS201-Introduction to Programming Assignment No.2 Due Date...
- Mgt 101 Assignment Annnouncement
- CS 610 Computer Networks Assignment # 02 May 6,2010
- ECO302 Principles of Microeconomics Assignment No. 01 Due...
- virtual university Assignments total percentage
- MTH301 Assignment 5 Deadline 19 July 2010
- MGT704 Organization Theory & Design Assignment No 1...
- ACC501 Assignment 2 Solution
- cs605 Software engineering Assignment No. 06 July, 2010
Your assignment must be uploaded before or on 8th Nov 2010.
Please view the document related to assignment submission process provided to you by the Virtual University to upload the assignment.
Rules for Marking
Kindly note that your assignment will NOT be graded if:
§ It is submitted after due date
§ The file you uploaded does not open
§ The file you uploaded is copied from someone else
§ It is in the format other than .doc
This assignment has been designed to enable you:
§ To understand how effective address is calculated
§ To understand how physical memory address is calculated
§ To understand Register
§ To understand the use of debugger and how to read value from Debugger
Question_1: [marks: 5]
What is the effective address generated by each of the following instruction?
Initially AX= 0x0FED, BX=0x0400, label=0x04201, and SI=0x00E1
(Offsets in part a, b and f are in decimal)
- mov ax, [bx+65]
- mov bx, [ax+35]
- mov ax, [bx+label]
- mov bx, [label+ax]
- mov bx, [ax+si]
Question_2: [marks: 5]
Calculate the physical memory address generated by the following segmentffset pairs (both are hexadecimal values).
Write the given program, assemble it and then analyze it in Debugger [marks: 10]
mov al, [num1]
mov bl, [num1+1]
mov bl, [num1+2]
add al, bl
mov ax, 0x4c00
num1: db 5, 10, 15, 0
After analysis you have to provide all information that is asked under:
al,bl and IP Register
You have to fill the table given below and write the values of al,bl and IP registers before and after execution of an instruction as you analyze in debugger. You also have to give reason that why the value of al,bl and IP registers change after a particular instruction. Give reason in corresponding column.
Value of alInstructionBefore ExecutionAfter Execution(with Reasons)
Value of bl
Value of IP
Value of al
Value of bl
Value of IP
You also have to provide the following information
Address of num1=?
Address of num1+1=?
Address of num1+2=?
Address of num1+3=?
Value of num1+3(at end of program) =?
There are currently 1 users browsing this thread. (0 members and 1 guests)