Posted on 22/11/15

Tag :
8085

In this post I have coded factorial program for 8085 microprocessor.

One can use GNU simulator to run this program.

Logic for the program is quite simple. We simply keep multiplying the number with (number - i).

Note that the program doesn't work for N = 0, it is left for you as a task ;) .

Hope it helps

This blog is like Notes-to-Self and is not intended to teach