subject
Computers and Technology, 25.08.2021 02:40 123jefe

Suppose that you are working with a CISC machine using a 1.8 GHz clock (i. e., the clock ticks 1.8 billion times per second). This particular computer uses MASM-like instructions with the following timings: add reg, mem 9 clock cycles (i. e., the ADD micro-program has 9 instructions)
add reg, immed 3 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[esi][esi] ;add current list element
add \textrm{6}66, 2 ;move array pointer to next element
loop more ;auto-decrement ecx, jump to more if ecx ≠ 0

Required:
After initialization, how many array elements can be processed in 4 ms?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:50
What does operator overloading allow you to do?
Answers: 2
question
Computers and Technology, 22.06.2019 04:30
How can you know if the person or organization providing the information has the credentials and knowledge to speak on this topic? one clue is the type of web site it is--the domain name ".org" tells you that this site is run by a nonprofit organization.
Answers: 2
question
Computers and Technology, 22.06.2019 22:30
Who needs to approve a change before it is initiated? (select two.) -change board -client or end user -ceo -personnel manager -project manager
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
The first screen you see when you open word2016 what is called?
Answers: 1
You know the right answer?
Suppose that you are working with a CISC machine using a 1.8 GHz clock (i. e., the clock ticks 1.8 b...
Questions
question
Mathematics, 13.01.2021 19:00
question
English, 13.01.2021 19:00
Questions on the website: 13722361