Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management An Organizational Perspective

Authors: Richard T. Watson

1st Edition

0471305340, 978-0471305347

More Books

Students also viewed these Databases questions

Question

Is SHRD compatible with individual career aspirations

Answered: 1 week ago