Question: This is an assembly code to find the largest number in an array , can u please creat one that finded largest and smallest ?

This is an assembly code to find the largest number in an array , can u please creat one that finded largest and smallest ? Even negative numbers can be smallest , and please write it the same way not advanced code with explination  This is an assembly code to find the largest number in

ORG 0000H MOV R2, #09H MOV R0, #50H MOV 10H,@RO INC RO MOVA.@RO CJNE A, I0H,AHEAD SJMP NEXT JNC EXCHANGE SJMP NEXT REPEAT: AHEAD: EXCHANGE: XCHA, I0H NEXT HERE DJNZ R2, REPEAT SJMP HERE END

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!