Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!