tion-2 Write a program to 25 2 10 0 0 0 220 (i) generate even numbers from 1 to 10 using a loop (ii) calculate squares o
Posted: Fri May 20, 2022 3:20 pm
tion-2 Write a program to 25 2 10 0 0 0 220 (i) generate even numbers from 1 to 10 using a loop (ii) calculate squares of even numbers (iii) calculate the sum of their squares Data Segment (iv) store the results of (i), (ii) & (iii) in Address Value (60 Value (4) Value (02) Value (o Vue (10) Value (014 Value (018) važue (016) Oc10010000 10 an array in memory 0x10010020 24 100 (v) print the results of (i), (ii) & (iii) on the screen as shown in figure.- 7. Run 110 Mars Messages (vi) comment your code appropriately 2 4 6 8 10 4 16 36 64 100 7.10 220 - program is finished running --