Question: 1 . Write Assembly level languages programme to find factorial of number n , where n is 5 a ) Write instruction to transfer value
Write Assembly level languages programme to find factorial of number n
where n is
a Write instruction to transfer value to R
b Write instruction to transfer value to R
c Write instruction to multiply content of register R and R product
should be available in register R
d Decrement the value of register R by
e If value in register R is
Jump to the instruction which stores content of register R to
cache memory with logical address and Halt the program
Else Jump to instruction to multiply content of register R and
R
What is the content of PC BR IR MAR and MDR during fetch, decode and
execute cycle of store instruction.
How many clock cycles are required to execute the program? Attach screen
shot of the same
What is CPI for the program? Explain.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
