subject

Suppose that you are working with a cisc machine using a 2.4 ghz clock (i. e., the clock ticks 2.4 billion times per second).

this particular computer uses masm-like instructions with the following timings: add reg, mem 7 clock cycles (i. e., the add micro-program has 7 instructions) add reg, immed 4 clock cycles loop label 7 clock cycles

suppose that the following code fragment is used to sum elements of a numeric array.

for this problem, assume that memory limitations are non-existent and that there is no limit to the size of the array. mov bx, 0 ; initialize sum mov ecx, max_size ; initialize loop counter mov esi, offset list ; initialize array pointer more:

add bx, [ esi ] ;

add current list element add esi, 2 ;

move array pointer to next element loop more ;

auto-decrement ecx, jump to more if ecx ≠ 0 after initialization, how many array elements can be processed in 2 ms?

round your answer to the nearest integer.

note that 1 ms. = 0.001 second.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:30
These tools give presenters more freedom to move about the room and interact with their audience. laptop computer laser pointer lcd projector remote control
Answers: 2
question
Computers and Technology, 23.06.2019 17:30
What are the most commonly found items in the trash according to the municipal solid waste report?
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
How many points do i need before i can send a chat
Answers: 1
question
Computers and Technology, 24.06.2019 18:30
What is the local portion of the e-mail address below? [email protected] a.) @ b.) biz c.) gumchewer d.) twrigley
Answers: 1
You know the right answer?
Suppose that you are working with a cisc machine using a 2.4 ghz clock (i. e., the clock ticks 2.4 b...
Questions
question
Social Studies, 21.12.2019 20:31
question
Mathematics, 21.12.2019 20:31
question
Mathematics, 21.12.2019 20:31
Questions on the website: 13722361