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
Get step-by-step solutions from verified subject matter experts
