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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply