0% found this document useful (0 votes)
23 views

EEE-416 Experiment-3 Lab Task (1) Consider A Number 32h in AX. Reverse Its Bit Pattern and Count The Number of 1s.

The document describes two lab tasks: 1) reverse the bit pattern of the number 32h in AX and count the 1s, 2) compute the factorial of the number in AX without multiplication by using nested loops and store the result in AX.

Uploaded by

Anik Mazumder
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

EEE-416 Experiment-3 Lab Task (1) Consider A Number 32h in AX. Reverse Its Bit Pattern and Count The Number of 1s.

The document describes two lab tasks: 1) reverse the bit pattern of the number 32h in AX and count the 1s, 2) compute the factorial of the number in AX without multiplication by using nested loops and store the result in AX.

Uploaded by

Anik Mazumder
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

EEE-416

Experiment-3

Lab Task

(1) Consider a number 32h in AX. Reverse its bit pattern and count the number of 1s.

(2) Write a code to compute the Factorial of the number put in AX, without using MUL command.
Put the result in AX. [Hints: Nested loop]

You might also like