comment * Description: The program will ask the user for a series of number Then the input will be store into an array The numbers in the array will be organize from ascending order Then it will print out the number in the array and asterisk base on how many match number is in the array * TITLE Array (Array.asm) INCLUDE Irvine32.inc .data prompt BYTE "Enter up to 35 numbers [0 - 100. 101 to end]: ", 0 ; ask the user for a value getInput BYTE "? ", 0 Grade BYTE "Grades", 0 ;Set the counter to 35 counter = 35 ;Create a 32-bit array that can hold 35 elements of any value array DWORD counter dup(?) ;Set elementCount to 0 elementCount DWORD 0 .code main PROC ;Create a cmd window call clrscr ;Write prompt to the cmd mov edx, OFFSET prompt call writestring call crlf ;Set assign counter to the ecx register where we use for loop counter mov ecx, counter ;Set the array counter to 0 mov esi, 0 ;This loop get the user input L1: mov edx, OFFSET getInput call writestring call readdec ;Jump out of the loop if 101 is entered cmp eax, 101 je L2 ;Each time element is input, increment the number of element in the array inc elementCount ;Store use input into the array mov array[esi], eax ;Move to the next empty location of the array add esi, 4 ;Repeat the loop process loop L1 L2: ;Set the pointer back to 0 mov esi, 0 ;Set the loop counter to the number of element inside the array mov ecx, elementCount ;Print the value from grade mov edx, OFFSET Grade call writestring call crlf ;Using a loop to write out all the elements in the array L3: mov eax, array[esi] call writedec call crlf add esi, 4 loop L3 exit main endp END main