Question: Using Atmel Studio Assembler, Write a subroutine to multiply two unsigned 16-bit integers 0x3732 and 0x4148 passed in r16:r17 and r18:r19, and return the product
Using Atmel Studio Assembler, Write a subroutine to multiply two unsigned 16-bit integers 0x3732 and 0x4148 passed in r16:r17 and r18:r19, and return the product in r22, r23, r24, and r25. r17 and r19 hold the upper bytes of two numbers to be multiplied, and r25 down to r22 hold the most significant to the least significant bytes of the product.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
