Computers and Technology
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?

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 20:30, kokilavani
In the context of it jobs in the information systems field. a is responsible for database design and implementation
Answers: 3
image
Computers and Technology, 22.06.2019 20:10, ianmartin6080
Assume that minutes is an int variable whose value is 0 or positive. write an expression whose value is "undercooked" or "soft-boiled" or "medium-boiled" or "hard-boiled" or "overcooked" based on the value of minutes. in particular: if the value of minutes is less than 2 the expression's value is "undercooked"; 2-4 would be a "soft-boiled", 5-7 would be "medium-boiled", 8-11 would be "hard-boiled" and 12 or more would be a "overcooked".
Answers: 1
image
Computers and Technology, 24.06.2019 13:00, ddaaaeeee2960
Which one of the following functions is not available on the autosum tool? sum average if max
Answers: 3
image
Computers and Technology, 24.06.2019 14:00, Abrahamolve
When creating a field in a table, you must set the to determine what type of data the field can store. field property data type field type data property
Answers: 1
Do you know the correct 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 in other subjects: