Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Procedure: 1. a) load the numbers 00H, 1FH, 2EH, 44H, 87H,09H, 10H, E4H, 5EH, 3CH, 2BH, AOH, AIH, A4H, FFH, FEH, 10H and 02H in

image text in transcribed

Procedure: 1. a) load the numbers 00H, 1FH, 2EH, 44H, 87H,09H, 10H, E4H, 5EH, 3CH, 2BH, AOH, AIH, A4H, FFH, FEH, 10H and 02H in data segment offset starting from (2430)H. b) Write an 8086 program that compare each two successive numbers, and counts the even numbers. The comparison is to be carried out in a subroutine. c) Store the number of the counts in data segment offset of (2425)H. 2. Write a program which finds the average of (N) numbers, the summation of the elements must be carried out in a subroutine. The N stored it in segment offset [2600]h followed by the bytes of numbers and the result (note let N=05H)

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

Data Mining Concepts And Techniques

Authors: Jiawei Han, Micheline Kamber, Jian Pei

3rd Edition

0123814790, 9780123814791

More Books

Students also viewed these Databases questions

Question

10:16 AM Sun Jan 29 Answered: 1 week ago

Answered: 1 week ago

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago