- Write an assembly program to find the largest item in an array and store it in a variable named MAXI - Hint: Use both

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

- Write an assembly program to find the largest item in an array and store it in a variable named MAXI - Hint: Use both

Post by answerhappygod »

Write An Assembly Program To Find The Largest Item In An Array And Store It In A Variable Named Maxi Hint Use Both 1
Write An Assembly Program To Find The Largest Item In An Array And Store It In A Variable Named Maxi Hint Use Both 1 (36.59 KiB) Viewed 37 times
- Write an assembly program to find the largest item in an array and store it in a variable named MAXI - Hint: Use both Jump and loop instructions to write the program. - logic: - Assume that the first item of the array is the maximum and store it in variable MAXIMUM - Write a loop. Inside the loop, compare the each array item with the maximum - If the array item is greater than the MAXIMUM, update MAXIMUM with that array item. - data Array WORD 10,2,23,45,21,11 MAXIMUM WORD? - code ; write your code
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply