Page 1 of 1

what is the output of the following code and correct the mistakes if any ( this code to find the factorial or the number

Posted: Sat May 14, 2022 3:15 pm
by answerhappygod
what is the output of the following code and correct the
mistakes if any ( this code to find the factorial or the number in
string X :
X DB 2,3,5,6
Y DW 4 DUP (?)
Mov BL,X
CALL FACT
Mov Y,Ax
FACT PROC
Mov AL,1
L: MUL BL
DEC BL
JNZ L
RET
FACT ENDP