Question: Microprocessor Interfacing and Embedded System 1. Answer all the questions given below. [10] (a) In the given 8086 block diagram, write down the sizes of

Microprocessor Interfacing and Embedded System

Microprocessor Interfacing and Embedded System 1. Answer all the questions given below.

[10] (a) In the given 8086 block diagram, write down the sizes

1. Answer all the questions given below. [10] (a) In the given 8086 block diagram, write down the sizes of the (i) registers (ii) segments (iii) data bus and (iv) address bus How many instructions can be stored in the queue? (C01) (1+1+1+1+1] MEMORY INTERFACE BIU INSTRUCTION STREAM BYTE QUEUE B-BUS CONTROL SYSTEM DL ARITHMETIC LOGIC UNIT OPERANDS FLAGS (b) Construct the assembly code for 8086 in order to find the maximum in a given array using LEA. You may take the given algorithm into account. Use comments where needed [CO2] [5] a DB 10h, 5h, 25h, 65h, 02h Start i = 0 Numbers are in an array: a[0], a[1], ... a[N-1] largest = a[0] Does Yes i = N? No End Yes Is a[i] > largest? largest = a[i] No i = i + 1 2. Answer all the questions given below. [10] [CO2] [2.5+2.5] (a) -For the given code segment, find the value of ax (i) mov ax, 5A mov cx, 20 mul cx DAA (ii) Show the mathematical operation involved in hexadecimal multiplication (b) Construct the code to transfer 50H to the end of the segment. Use comments where necessary. Use direct addressing mode, i.e., MOV AX, [Address] (C01 , CO2] [5] 2FFFFH End of data segment 50H 437AH Start of data segment

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!