Question: 04. (10 pts) Implement the following algorithm of the subroutine MaxAB_word for unsigned 16-bit numbers A and B: Result max(A, B) where Result -Result HResulLR
04. (10 pts) Implement the following algorithm of the subroutine MaxAB_word for unsigned 16-bit numbers A and B: Result max(A, B) where Result -Result HResulLR A -R17:16, and B B H.B L-RI9 R18 Your AVR assembly code def A,L=R16 def A H-R17 def B-L= R18 def B H-R19 def Result L= R0 def Result H= R1 MaxAB word begin if A H
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
