Question: 8051 microcontroller and embedded system Write a program with three subroutines to (a) transfer the following data from on-chip ROM to RAM locations starting at
Write a program with three subroutines to (a) transfer the following data from on-chip ROM to RAM locations starting at 30H, (b) add them and save the result in 70H, and (e) find the average of the data and store it in R7. Notice that the data is stored in a code space of on-chip ROM ORG 250H MYDATA: DB 3,9,6,9, 7, 6, 4, 2,8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
