Question: Q 1 1 . ( 2 0 pts ) Write an IAS program to compute the factorial f ( n ) = n ! using
Q pts Write an IAS program to compute the factorial using instructions from the Table where
the value of is stored at the memory location OFA. After the execution of your program the output value
must be stored at location OFB. For example, if the content of OFA is then a value of must be present
in memory location OFB. A snapshot of the memory is given as a table on the right. Write your code below:
Hint: added a new instruction MOV in Table to assign a scalar value to AC At first, think about the
pseudocode.
Address Symbolic Name Contents
Address
BR
ER
L
R
I.
Contents
Symbolic Name
Contents
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
