Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started