.data
A: .space 80 # create integer array with 20 elements ( A[20] )
size_prompt: .asciiz "Enter array size [between 1 and 20]: "
array_prompt: .asciiz "A["
sorted_array_prompt: .asciiz "Sorted A["
close_bracket: .asciiz "] = "
search_prompt: .asciiz "Enter search value: "
not_found: .asciiz " not in sorted A"
newline: .asciiz "\n"
.text
main:
# ----------------------------------------------------------------------------------
# Do not modify
la $s0, A # store address of array A in $s0
add $s1, $0, $0 # create variable "size" ($s1)...