Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Microprocessor Interfacing and Embedded System 1. Question Source string: Array1 '8086' Destination string: Array2 LEA DI, Array2+3 ; Ending address of Destination LEA SI, Array1

Microprocessor Interfacing and Embedded System

image text in transcribed

image text in transcribed

1. Question Source string: Array1 '8086' Destination string: Array2 LEA DI, Array2+3 ; Ending address of Destination LEA SI, Array1 ; Starting address of Source MOV CX, 4 ; Number of elements = 100 bytes CLD ; set SI and Dl to auto-increment Next: MOVSB SUB DI, 2 ; adjust Dl to pint at next address LOOP Next . 2. Question Self Practice Problem: Write a delay program to create a time delay of five minutes. Assume that a 10 Mhz clock is used with 8086. Given that Instruction No. of T-states MOV BX, Immediate 4 DEC Register 2 NOP JNZ Label RET 3 16 8 28/12/2020 Delay loop counter Part 3 3. Question List down the values of AL for each execution of the LOOP MOV CX, 000AH ;set loop count MOV AL, OOH ;set initial sum to 0 MOV BL, 01H ;first number in BL BACK:ADD AL, BL INC BL LOOP BACK

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

Relational Database And Transact SQL

Authors: Lucy Scott

1st Edition

1974679985, 978-1974679980

More Books

Students also viewed these Databases questions

Question

How does investment banking differ from commercial banking?

Answered: 1 week ago