Question: Use Assembly Language (ASIDE and CUSP) An array X is considered to be greater than an array Y if for every element i, X[i] >
Use Assembly Language (ASIDE and CUSP)
An array X is considered to be greater than an array Y if for every element i, X[i] > Y[i] (the arrays are assumed to be the same length). Develop a program that sets the value of ACC = 1 if X > Y and ACC = 0, otherwise. Assume for test purposes that the arrays have six elements and are defined as follows:

The program should load into memory at address $000.
. WORD 95 Y: WORD 1002 WORD 233 WORD -137 WORD 6332 WORD -33191 WORD 35 WORD 102 WORD 109 WORD -1378 WORD 6332 WORD-33194 Try your program with a variety of other test arrays. . WORD 95 Y: WORD 1002 WORD 233 WORD -137 WORD 6332 WORD -33191 WORD 35 WORD 102 WORD 109 WORD -1378 WORD 6332 WORD-33194 Try your program with a variety of other test arrays
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
