Question: Using edsim51di simulator, write 8051 assembly program to do the following: 1) Read a sequence of ten 8-bit signed numbers stored in ROM, sum the

Using edsim51di simulator, write 8051 assembly program to do the following: 1) Read a sequence of ten 8-bit signed numbers stored in ROM, sum the absolute values of these numbers and storelthe 8-bit sum in RAM location 40H. Ignore any carry produced during the summation process. 2) Produce 16-bit summation and store result in locations 40H(LSB) and 41H (MSB) Test your program with the following sets of data: a) -45, 88, -19, 156, 120, 79, -67, 48, 36,-93 b) 22, -90, 13,-6,-64, 34,78,90,-47,86 Using edsim51di simulator, write 8051 assembly program to do the following: 1) Read a sequence of ten 8-bit signed numbers stored in ROM, sum the absolute values of these numbers and storelthe 8-bit sum in RAM location 40H. Ignore any carry produced during the summation process. 2) Produce 16-bit summation and store result in locations 40H(LSB) and 41H (MSB) Test your program with the following sets of data: a) -45, 88, -19, 156, 120, 79, -67, 48, 36,-93 b) 22, -90, 13,-6,-64, 34,78,90,-47,86
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
