Question: This is assembly language. Use static memory allocation to write the program. Please show an output at the end. Thank. 1 . Start by calling
This is assembly language. Use static memory allocation to write the program. Please show an output at the end. Thank. 1 . Start by calling the irvine-crscr" subroutine, then 2. Write a message asking for the number of number to add. Irvine writestring" to display a message. Use the Irvine Readint function read a number and Writelnt to display a number. As you read in numbers store them in an array of fixed number of 100 32 bit numbers 3. Once all the numbers are read into the array print them from the array 4. Wite a procedure to add the odd indexed numbers using the array and 5. Write a message indicating the sum of the odd indexed values is: Use an internal procedure to read the numbers into the array and an internal procedure to print the numbers. store the result in a memory variable named "result" Sample output: How many numbers would you like to add: 5 Enter a number: 10 Enter a number: 25 Enter a number: 10 Enter a number: 25 Enter a number: 50 The numbers printed from the array are: 10, 25, 10, 25, 50 The sum of the numbers stored in odd indexes is: 70
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
