Construct a program that compares the five numbers in the list below and outputs only the smallest one.Note that your loop will need a counter to determine when you have analyzed the five words. When the analysis is complete, end the program as usual. Note: This must be a loop program. Output the leader shown below before printing the number. .data v: .word 0x6966abce w: .word 0x89c7d12e x: .word 0x7ff9348c y: .word 0x445e279a z: .word 0x123ac45d ldr: .asciiz “The smallest number = “
Construct a program that compares the five numbers in the list below
and outputs only the smallest one.Note that your loop will need a counter to determine when you have analyzed the five words. When the analysis is complete, end the program as usual. Note: This must be a loop program. Output the leader shown below before printing the number.
.data
v: .word 0x6966abce
w: .word 0x89c7d12e
x: .word 0x7ff9348c
y: .word 0x445e279a
z: .word 0x123ac45d
ldr: .asciiz “The smallest number = “
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
