subject

Suppose you have a risc machine with a 2.8 ghz clock (i. e., the clock ticks 2.8 billion times per second). this particular computer uses an instruction cache, a data cache, an operand fetch unit, and an operand store unit. the instruction set includes simple instructions with the following timings: set reg, immed 2 clock cycle loop label 6 clock cycles add reg, immed 2 clock cycle add reg, reg 3 clock cycles load reg, mem 4 clock cycles assume that the following code fragment is used to sum the element of a numeric array. if the initialization code has already executed (i. e. the set instructions have already finished execution) how many array elements can be processed in 3.2 ms? round your answer to the nearest integer. recall that 1 ms = 0.001 seconds. also assume that there are no physical memory limitations, implying that the array can be as large as desired. set r1, 0 ; initialize sum set r2, max_size ; initialize loop counter set r3, @list ; initialize array pointer more: load r4, \textrm{3.0} ; fetch current list element add r1, r4 ; add current list element add r3, 4 ; move array pointer to next element loop more ; auto-decrement r2, jump to more if r2 ! = 0

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 11:50, itaheart101
While preforming before operation pmcs, you notice the front right tire appears slightly under-inflated. what is the proper action?
Answers: 3
image
Computers and Technology, 23.06.2019 19:30, sallybob0
What are loans to a company or government for a set amount of time
Answers: 1
image
Computers and Technology, 23.06.2019 22:30, reaganphelps3
What would be the address of the cell, which is at the intersection of the second row and the third column in a worksheet?
Answers: 1
image
Computers and Technology, 24.06.2019 01:00, cheycheybabygirl01
How can the temperature of a room be raised by 5degreesf?
Answers: 1
You know the right answer?
Suppose you have a risc machine with a 2.8 ghz clock (i. e., the clock ticks 2.8 billion times per s...

Questions in other subjects: