Answered step by step
Verified Expert Solution
Question
1 Approved Answer
to (21) During monsoon months, the weather monitoring station recorded the data of dialy rainfall, worite can (B) for the past to days and
to (21) During monsoon months, the weather monitoring station recorded the data of dialy rainfall, worite can (B) for the past to days and stored values in internal RAM whose starting memory location is 45th. Write an 8051 assembly language program perform the fallersing compute the average rainfall (M) of the todays data ( The sum of the so recorded date of daily rainfall is assumed to be less than FFH) Based on averagle rainfall, write an assembly language program to perform the following. Also draw the flow chart to support your program... If R=M, then increment the register R5 to indicate number.. of days with average rainfall' with above IT RYM, then increment the register R6 to indicate a number of days average rainfall It RCM, then the increment the register R7 to indicate number of days with below average rainfall . .
Step by Step Solution
There are 3 Steps involved in it
Step: 1
assembly ORG 0H Starting address of the program MOV DPTR 1500H Starting memory location of rainfall ...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