0
934views
factorial operation in assembly code
written 2.3 years ago by |
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.
ADD COMMENT
EDIT