Question: Write a program in assembly language that asks user to enter a positive number and calculates factorial for that number. Store result in BX.
Write a program in assembly language that asks user to enter a positive number and calculates factorial for that number. Store result in BX. Input 04H Output: 18H as In Decimal: 4*3*2*1 = 24 In Hexadecimal : 24 = 18H
Step by Step Solution
There are 3 Steps involved in it
CODE DATA SEGMENT NUM DB FACT DB 1H RES DB 10 DUP MSG1 DB EN... View full answer
Get step-by-step solutions from verified subject matter experts
