Question: 1 . Write and execute an assembly language program to calculate the factorial of YH ( an 8 - bit number ) . Store the

1. Write and execute an assembly language program to calculate the factorial of YH (an
8-bit number). Store the result of factorial at memory location 03002+X H.
For example, factorial of a number four is calculated as 4!=4 x 3 x 2 x 1=24. The
final result 24 should be stored at memory location 03002+X H.
2. Write an assembly language code to sum first YH integers using
(a) Jump and compare instructions
(b) Loop instructions.
3. Write an assembly language code to find the maximum of three numbers present in
three different registers. The code should store the maximum number at memory
location 03002+ XH.
*Note: Let X = digits of your roll number
Y= sum of digits of your roll number
For example (If your roll number is LXX-1234; Take X=1234H and Y=1+2+3+4=10)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!