64 689
Assignments Done
99,3%
Successfully Done
In September 2018

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.
Expert's answer
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 first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions