1 8 Points Write Assembly Program Find Smallest Element Searching Array Int Aryl 23 12 3 4 Q37042434

CODE IN MICROSOFT VIRTUAL STUDIO ONLY
1. (8 points) Write an assembly program to find the smallest element by searching an array int aryl I-(23, 12, 3,-4,-10,35, 11. (8 points) Write an assembly program to find the smallest element by searching an array int aryl I-(23, 12, 3,-4,-10,35, 11,8, 18; int index =0 ; int min- aryl0]; int arraySize sizeof array sizeof min while (index < arraySize) if (arylindex]min) min-arylindex; Use emp instruction and the appropriate jump instruction (signed or unsigned) to translate the if and while statements -Use S operator (see chapter 3) to calculate the size

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.