Write an assembly language Program that Compare two arrays of 10elements. Arrays
ID: 3618555 • Letter: W
Question
Write an assembly language Program that Compare two arrays of 10elements. Arrays are given below
Array1: 10 15 20 25 30 35 40 45 50 55
Array2: 15 10 20 35 40 30 55 50 25 45
You have to compare the Array 2 element one by one with array1.Once the matching element found then compare the 2ndelement of array 2 with array one and so on until the wholeelements of array 2 are compared.
Explanation / Answer
There are thousands of microprocessors, many of which have theirown unique architecture and assembly language. You'll need to specify at least the architecture and at best themicroprocessor/microcontroller you're using so we can help you. (I actually tried drafting a general-form solution for thisproblem, but the sheer variances between the microprocessors I'macquainted with lead me to believe it'd be more confusing thanhelpful- it seemed more like an alphabet soup than analgorithm.)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.