Question: Write an assembly code that compute the factorial of 3 numbers in variable num1 ,num2 and num3 and store the results in variable fact1,fact2

Write an assembly code that compute the factorial of 3 numbers in

  

Write an assembly code that compute the factorial of 3 numbers in variable num1 ,num2 and num3 and store the results in variable fact1,fact2 and fact3,(Hint:this all in one program not in separate programs) For example num1-3, num2=5 and num=6 Then fact will be equal 6,fact2 will be equal 120 ,fact3 will be equal 720

Step by Step Solution

3.39 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

section data num1 db 3 num2 db 5 num3 db 6 fact1 db 0 fact2 db 0 fact... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!