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
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!
Learn more about our help with Assignments:
Assembler
Comments