Answer to Question #8899 in Assembler for Ali

Question #8899
Write an assembly language code to calculate the factorial of “7” using a subroutine and also attach the final snapshot of your AFD window.
1
Expert's answer
2012-11-12T05:43:07-0500
MOV CL, X
DEC CL
MOV BX, 00
INC BX
MOV A[BX], 01
MOV AL, 00
MOV DL, 01
L1: INC BX
ADD AL, DL
MOV A[BX], AL
MOV AL, DL
MOV DL, A[BX]
LOOP L1
END

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS