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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started