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 03:30, 890777
In vista and windows 7, the appearance and personalization option allows you to change the
Answers: 1
image
Computers and Technology, 24.06.2019 03:30, ava1018
The footer area of a web page generally houses which website feature? terms of use web page content business name or title menu headings
Answers: 1
image
Computers and Technology, 24.06.2019 11:20, brittanybyers122
Print "censored" if userinput contains the word "darn", else print userinput. end with newline. ex: if userinput is "that darn cat.", then output is: censoredex: if userinput is "dang, that was scary! ", then output is: dang, that was scary! note: if the submitted code has an out-of-range access, the system will stop running the code after a few seconds, and report "program end never reached." the system doesn't print the test case that caused the reported message.#include #include using namespace std; int main() {string userinput; getline(cin, userinput); int ispresent = userinput. find("darn"); if (ispresent > 0){cout < < "censored" < < endl; /* your solution goes here */return 0; }
Answers: 3
image
Computers and Technology, 24.06.2019 13:30, sweeps8758
Which type of excel chart should be used to track students’ progress on test grades? line column bar pie
Answers: 2
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:

Konu
Biology, 11.09.2020 19:01
Konu
Geography, 11.09.2020 19:01
Konu
Mathematics, 11.09.2020 19:01
Konu
Mathematics, 11.09.2020 19:01
Konu
Mathematics, 11.09.2020 19:01
Konu
Mathematics, 11.09.2020 19:01
Konu
Mathematics, 11.09.2020 19:01
Konu
Biology, 11.09.2020 19:01
Konu
Mathematics, 11.09.2020 19:01
Konu
Mathematics, 11.09.2020 19:01