Question: Using the instructions for the single- cycle computer, write a program that reads through an array of 16-bit signed 2s complement numbers stored in data
Using the instructions for the single- cycle computer, write a program that reads through an array of 16-bit signed 2s complement numbers stored in data memory and finds the minimum value in the array. Your program must read the address of the start of the array (i.e., a pointer to the array) from data memory address 0 and the length of the array from data memory address 1. When it has finished reading through the array, it should store the minimum value address 2 of the data memory.
Step by Step Solution
3.39 Rating (161 Votes )
There are 3 Steps involved in it
To write a program for a singlecycle computer to find the minimum value in an array of 16bit signed ... View full answer
Get step-by-step solutions from verified subject matter experts
