title: Computing the factorial of 10 using 8086 assembly
body: <p>I have been trying to solve this using assembly language. The thing is I cannot store the 10! In <code>al</code> and my code works for finding factorial of 5. How do I store my result of 10! In a register? When I find factorial of 5 I can see the result clearly in <code>al</code> because 120 can be stored in <code>al</code>.</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>Here's my code for 5!</p>
  
  <pre><code> org 100h
  .DATA
  ANS DB ? 
  .CODE
  MAIN PROC
      MOV AX,@DATA
      MOV DS,AX
      MOV AL,5                     
      MOV CL,4
      MOV BL,AL
      SUB BL,1
      L:
      MUL BL
      SUB  BL,1
      LOOP L
  
      MOV ANS,AL
      END MAIN
  ret
  </code></pre>