🎴 Flashcard Mode

Test 4 - Computer Organization & Architecture | Computer Science

Card1 / 19
Mastered0
Review0
QuestionClick to flip

Consider the following program segment for a hypothetical CPU having three user registers R1,R2 and R3.

Let the clock cycles required for various operations be as follows:
ADD with both operands in register: 1 clock cycle
Instruction fetch and decode: 2 clock cycles per word
Register to/from memory transfer: 3 clock cycles

The total number of clock cycles required to execute the program is

AnswerClick to flip back
A
24
💡 Explanation:

Change Mode