Question: 8051 Micocontroller Given an array of unsigned number called UnSigned which is de ned in ROM using assembler directive DB, write a program that will

8051 Micocontroller

Given an array of unsigned number called "UnSigned" which is de ned in ROM using assembler directive \DB", write a program that will nd the summation of all EVEN and ODD numbers in the array. Your program should store the summation of EVEN numbers in register R1 and that of ODD numbers in R2. Assume array \UnSigned" contains 100 elements. Make sure to show a flow chart of your algorithm and include comments in your assembly code.

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!