hello
i have a problem in assembly. need a code of following problem

Write an assembly language Program that Compare two arrays of 10 elements. 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 2nd element of array 2 with array one and so on until the whole elements of array 2 are compared.

i want to exchange two values in array can u give any example?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.