Question: Consider two 16-bit numbers. Store the MSB (most significant byte) of the first number in R2, and the LSB (least significant byte) in R3. Store

 Consider two 16-bit numbers. Store the MSB (most significant byte) of

Consider two 16-bit numbers. Store the MSB (most significant byte) of the first number in R2, and the LSB (least significant byte) in R3. Store the MSB of the second number in R4, and the LSB in R5. Multiply the two numbers. The result would have a maximum of 32 bits. The LSB of the result should be stored at the location 33H, the second least significant byte to be stored in the location 32H, the third least significant byte to be stored in the location 31H, and the MSB should be stored in the location 30H. For example, if the two 16-bit numbers are F1F2H and F0F3H, then R2 will have F1H,R3 will have F2H,R4 will have F0H,R5 will have F3H. Now, F1F2HF0F3H=E3B888B6H. So at the end of the program 33H will have B6H,32H will have 88H,31H will have B8H, and 30H will havee E3H

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 Databases Questions!