Answered step by step
Verified Expert Solution
Question
1 Approved Answer
IBCM help! (itty bitty computing machine). you cant directly call each index and compare them. instead, you should try to create a 'method' in order
IBCM help! (itty bitty computing machine).
you cant directly call each index and compare them. instead, you should try to create a 'method' in order to iterate through the values to compare them.
array.ibcm Write a second IBCM program that finds the maximum value in an array of values. . The array base address is hard-coded into memory, meaning it's a pre-set value that isn't obtained by user input. You can have the array be all or part of the IBCM program, or a section of memory after the program with values that you have selected You should also hard-code other values, such as the number of elements in the array and the array elements themselves, into your program. The program should not need any user input. . Before your program halts, it prints out the maximum value of the array You M STiterate through the array by creating the array load instruction, similarly as was done in lecture in the array simulation lb program. You may NOT have a series of separate instructions to each load a separate value from the array such a program will receive zero credit. Submitting your code Your code MUSThave comments in the file so that the TAs can grade it. No comments will earn a zero for the grade array.ibcm Write a second IBCM program that finds the maximum value in an array of values. . The array base address is hard-coded into memory, meaning it's a pre-set value that isn't obtained by user input. You can have the array be all or part of the IBCM program, or a section of memory after the program with values that you have selected You should also hard-code other values, such as the number of elements in the array and the array elements themselves, into your program. The program should not need any user input. . Before your program halts, it prints out the maximum value of the array You M STiterate through the array by creating the array load instruction, similarly as was done in lecture in the array simulation lb program. You may NOT have a series of separate instructions to each load a separate value from the array such a program will receive zero credit. Submitting your code Your code MUSThave comments in the file so that the TAs can grade it. No comments will earn a zero for the gradeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started