0% found this document useful (0 votes)
47 views2 pages

Homework2b1803

The document contains 6 questions regarding microprocessor architecture and assembly language programming. Question 1 asks to show the register and flag contents after executing several instructions. Question 2 asks how many times a loop will execute depending on the loop termination instruction. Question 3 asks for opinions on minimum/maximum modes and pipelining in 8086 and why they should not be removed. Questions 4-6 ask about addressing modes, physical address generation, and flags in 8086 respectively.

Uploaded by

Rahul Yadav
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views2 pages

Homework2b1803

The document contains 6 questions regarding microprocessor architecture and assembly language programming. Question 1 asks to show the register and flag contents after executing several instructions. Question 2 asks how many times a loop will execute depending on the loop termination instruction. Question 3 asks for opinions on minimum/maximum modes and pipelining in 8086 and why they should not be removed. Questions 4-6 ask about addressing modes, physical address generation, and flags in 8086 respectively.

Uploaded by

Rahul Yadav
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

HOME WORK: 2 ECE212 (Microprocessors)

Section: B1803 Max. Marks: 5 Date of Allotment: 5/2/11 Submission:19/2/11 PART-A Q1. Let us assume that the registers of the 8085 have following contents, A=32H, B=15H, C=83H, D=B3H, H=3DH, L=6CH , Carry flag(CF)=00H Show the contents of all the flags and all the registers after execution of each instruction of the following Program in the format shown MVI A, 35H; ADD B; MOV D, H; MOV A, L; ADD H; ADC C; RAL; RAL; RLC; HLT Q2. a) State how many times the following loop will be executed LXI B, 0010H LOOP: DCX B JNZ LOOP b) In above program if the instruction DCX B is replaced with DCR B then how many times loop will be executed Q3. Give your opinion on the following issues. Also explain why these concepts should not be removed from 8086. a) Minimum and maximum modes. b) Pipelining in 8086 architecture. PART-B Q4. Identify the addressing mode for each of the following instructions: (a) MOV AH , 47H (b) MOV AH , [BP + 2] (c) MOV AH , [BP + SI] (d) MOV AH , [XRAY] ; XRAY defines a memory location (e) MOV AH , TEMP [BX] ; TEMP defines a memory location Q5. How the physical address is generated in 8086? Explain with the help of examples. Calculate the physical address for the instruction: MOV CX,(1234H) and MOV BX,(BP+DI+04H) assuming BP=0200H,DS=3000H, DI=0300H Q6. What are the flags in 8086? What are their uses? Date of

You might also like