Search for question
Question

6. For each of the following MARIE instructions, determine the number of total cycles it takes

to fetch, decode and execute the instruction. Assume the fetch has two separate steps of

MBR ← M[MAR] and IR ← MBR rather than a single, combined step. You will have to

determine if the instruction includes a get operand step or not, and how many steps it takes

to perform the execute stage. For skipcond, assume all of the if statements combined take

1 cycle to test and it takes 1 further cycle if you increment the PC in a then clause.

a. Load X

b. LoadI X

c. Add X

d.

Store X

e. Jump X

f. Skipcond XX when condition is true

g. Skipcond XX when condition is false

h. Clear

i. Halt (has no execute steps)

Fig: 1