Question: Part 1 : Write a program that create an array of type word and store any three numbers ( hexa values ) Using direct addressing,

Part 1: Write a program that create an array of type word and store any three numbers(hexa values)
Using direct addressing, calculate the sum of all three values and store in sum variable.
Part 2: Write a program that rearranges the values of three doubleword values in the following array as: 3,1,2.
.data
myArray DWORD 1,2,3
1) Step1: copy the first value into EAX and exchange it with the value in the second position.
2) Step 2: Exchange EAX with the third array value and copy the value in EAX to the first array position.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!