Find and print the minimum and maximum from a list or numbers. You may use the follwoing code for your program. You ar

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Find and print the minimum and maximum from a list or numbers. You may use the follwoing code for your program. You ar

Post by answerhappygod »

Find and print the minimum and maximum from a list or
numbers. You may use the follwoing code for your
program. You are not required to, but must use the numbers
provided below for your array.
.data
array: .word
13, 34, 16, 61, 28

.word 24,
58, 11, 26, 41

.word 19, 7,
38, 12, 13
len:
.word 15
hdr:
.ascii "\nProgram to find max
and"

.asciiz "
min\n\n"
newLine: .asciiz
"\n"
a1Msg: .asciiz
"min = "
a2Msg: .asciiz
"max = "
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply