Computers and Technology

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

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 22:00, suewignall
During physical science class ben and jerry connected three identical lightbulbs in parallel to a battery where happens when ben removes one of the lightbulbs from it’s socket
Answers: 2
image
Computers and Technology, 23.06.2019 11:00, jaygamer37
What is the name of the sound effect that danny hears
Answers: 1
image
Computers and Technology, 24.06.2019 17:40, michaelandtammytrice
Create a file called favorite_foods, and list your favorite foods, entering five or six or more. press enter after each favorite food so it appears on its own line (make certain you also press enter after the final food item). after the file is created, add two more foods you like that are not on the list (press enter after the final food item). view the list of foods to make certain the two items you added appear at the end of the list
Answers: 2
image
Computers and Technology, 24.06.2019 21:30, moonk7733
The hybrid uses 144 to 158 volt batteries.
Answers: 1
Do you know the correct 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: