

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This is lab assignment for Microprocessors course given by Govinda Singh at National Institute of Industrial Engineering. It includes: Command, Help, Debug, Environment, Compliment, Internal, Registers, Flag, Bits, Logical, Address
Typology: Exercises
1 / 3
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)