

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Lab 1 Dated: 21 February 2012
Name: ____________________________ Roll No:______________
Q:1 short Questions ( for help use the file debug_tutorial.pdf )
Q:
mov al,ff mov bl, add al,bl nop
i) What is the logical address of 1st^ instruction:____________ ii) After the instruction execution โadd al,blโ what is the changes in the flag register, justify your answer iii) What is the logical address of last instruction โnopโ iv) What is the command to append the following code after the above code inc al inc bl add al,bl nop int 21 v) Last address of the instruction โint21โ vi) What the command u 100 does (provided 0100 is the contents of IP register) vii) What is the difference between above command and u cs:100 10e
Q:
q for exit from debug debug n file name l u
Q: i) Copy the code from debugger window to notepad Save the code in txt file ii) Copy the code from the notepad and save it to debugger window (procedure shown)