0
929views
factorial operation in assembly code

The factorial operation, denoted by the symbol ! is often found in mathematics, especially in calculations of probability. For example, 5! = 5 x 4 x 3 x 2 x 1. Write an assembly language program to calculate the factorial of a number “N=5” that is stored in RAM location 55H. Put the result of the calculation into R5.

Please log in to add an answer.