Question: You want to write a program to count and add even numbers (MyData). Count of even numbers is save in memory location, RESULT1 and

You want to write a program to count and add even numbers 

You want to write a program to count and add even numbers (MyData). Count of even numbers is save in memory location, RESULT1 and summation of even numbers is save in memory location, RESULT2. _start: .data MyData: .byte 0x31,0x011,13,0x24,31,0xAC RESULT1: byte 0x00 RESULT2: .byte 0x00 .end 1. Draw the flowchart for the program 2. Write a program using assembly language 3. Upload the print screen of the program as loaded in ARMSim

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 Flowchart The flowchart for the program is as follows START Initialize RESULT1 to 0 Initialize RESULT2 to 0 LOOP Get a number from MyData Check if the number is even If yes Increment RESULT1 Add the ... View full answer

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 Programming Questions!