Write an Assembley Language.A pair of numbers m and n arecalled “Perfect Dancing Partners” if the sum of all divisors of m(excluding m) is equal to the number n and the sum of all divisorsof n (excluding n) is equal to m (with m ≠ n).
For example, the numbers 220 and 284 are perfect dancingpartners because the only numbers that divide evenly into 220 are1, 2, 4, 5, 10, 11, 20, 22, 44, 55, and 110 and1+2+4+5+10+11+20+22+44+55 = 284. Similarly, the only numbers thatdivide evenly into 284 are 1,2,4,71, and 142 and 1+2+4+71+142 =220.
Write an ASM app that accepts two numbers and asserts whetherthey are perfect dancing partners.
Other values to try are: (220, 284), (1184, 1210), (2620,2924), (5020, 5564), (6232, 6368), (10744, 10856), (12285, 14595),(17296, 18416), (63020, 76084), and (66928, 66992).
Expert Answer
Answer to Write an Assembley Language.A pair of numbers m and n are called “Perfect Dancing Partners” if the sum of all divisors o…