Question: arrayB DCB 1 1 7 , 9 3 , - 5 7 ; array of 8 - bit numbers arrayW DCW - 5 1 7

arrayB DCB 117,93,-57; array of 8-bit numbers
arrayW DCW -517,1045,-2000; array of 16-bit numbers
... and the following declaration of array of 3 double words in the DATA area:
Write an assembly program that is equivalent to the following high-level language statements:
arrayD[0]= arrayB[0]+ arrayW[0];
arrayD[1]= arrayB[1]+ arrayW[1];
arrayD[2]= arrayB[2]+ arrayW[2];
Output the three computed numbers of arrayD to the terminal.
arrayB DCB 1 1 7 , 9 3 , - 5 7 ; array of 8 - bit

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!