Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ASSEMBLY LANGUAGE PROGRAMMING 1. Write an ALP in 8051 to determine how many even numbers and how many odd numbers are present in a data

ASSEMBLY LANGUAGE PROGRAMMING

1. Write an ALP in 8051 to determine how many even numbers and how many odd numbers are present in a data array of 20 bytes. The data bytes are stored in RAM location starting from 50H Store the nos. of even numbers in 40H location and nos. of odd numbers in 41H location.

2. 2here are 50 students in a class. For a subject, the individual mark obtained by each student is stored in external data RAM starting from location 2000H. Calculate the average mark of the class and store the result in 50H location. Also find the number of students scored more than 80% in that subject and store it in 51H location. Consider maximum mark in the subject is 100.

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

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions

Question

In an Excel Pivot Table, how is a Fact/Measure Column repeated?

Answered: 1 week ago