Given these 2 Assembly Programs: Program.(1): to find the smallest number from an array of 10 numbers. MOV SI,0401 MOV DI,040C MOV CX,0A MOV BL,0F MOV AL,[SI] CMP AL,BL JG NEXT MOV BL,AL INC SI DEC CX...


Given these 2 Assembly Programs:




Program.(1): to find the smallest number  from an array of 10 numbers.














































MOV SI,0401




MOV DI,040C




MOV CX,0A




MOV BL,0F




MOV AL,[SI]




CMP AL,BL




JG NEXT




MOV BL,AL




INC SI




DEC CX




JNZ UP




MOV [DI],BL




HLT





Program.(2): to find the smallest number  from an array of 10 numbers.













































MOV SI,0401



MOV DI,040B



MOV CX,0A



MOV BL,00



MOV AL,[SI]



CMP AL,BL



JL NEXT



MOV BL,AL



INC SI



DEC CX



JNZ UP



MOV [DI],BL



HLT





Question: Merge these to programs to be in one single assembly program to perform the two opeartions (Samllest and Largest Number in Array of 10 Numbers).



Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here