Question: Write a subroutine MULBY 1 0 to multiply the binary number located at R 7 :R 6 ( known to be less than 1 0

Write a subroutine MULBY10 to multiply the binary number located at R7:R6(known to be less than 10000d) by 6 and write the result in R4:R3. Do not use the MUL AB instyruction but use only the rotate instructions. All numbers are binary numbers. For example, if R7:R6=0096h (150d) upon the subroutine call, then the subroutine MULBY10 will return 03:84h (900) in R4:R3.

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!