subject

Suppose that you are working with a CISC machine using a 2.2 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 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? 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 18:30
Which of the following commands is more recommended while creating a bot?
Answers: 1
question
Computers and Technology, 23.06.2019 01:40
You have a linux system that has a 1000gb hard disk drive, which has a 90gb partition containing an ext4 filesystem mounted to the / directory and a 4gb swap partition. currently, this linux system is only used by a few users for storing small files; however, the department manager wants to upgrade this system and use it to run a database application that will be used by 100 users. the database application and the associated data will take up over 200gb of hard disk space. in addition, these 100 users will store their personal files on the hard disk of the system. each user must have a maximum of 5gb of storage space. the department manager has made it very clear that this system must not exhibit any downtime as a result of hard disk errors. how much hard disk space will you require, and what partitions would you need to ensure that the system will perform as needed? where would these partitions be mounted? what quotas would you implement? what commands would you need to run and what entries to /etc/fstab would you need to create? justify your answers.
Answers: 3
question
Computers and Technology, 23.06.2019 15:00
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a.an advanced knowledge of physics and math b.an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 2
question
Computers and Technology, 24.06.2019 02:10
Aspeed limit sign that says "night" indicates the legal speed between sunset and sunrise.
Answers: 2
You know the right answer?
Suppose that you are working with a CISC machine using a 2.2 GHz clock (i. e., the clock ticks 2.4 b...
Questions
question
Physics, 15.05.2021 20:40
question
World Languages, 15.05.2021 20:50
question
History, 15.05.2021 20:50
question
Mathematics, 15.05.2021 20:50
question
Mathematics, 15.05.2021 20:50
question
Business, 15.05.2021 20:50
Questions on the website: 13722367