Question: What changes would you make to the code below, so it would sum a doubleword array? .data intarray WORD 100h,200h,300h,400h .code mov edi,0 offset of

 What changes would you make to the code below, so it

What changes would you make to the code below, so it would sum a doubleword array? .data intarray WORD 100h,200h,300h,400h .code mov edi,0 offset of 1st element mov ecx, LENGTHOF intarray; loop counter mov ax,0zero the accumulator LI: add ax,intarray[edi] ;add an integer add edi,TYPE intarray; point to next integer loop L1 ; repeat until ECX = 0 Write the program Submit your (well styled and commended) code before class Oct 18th

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 Databases Questions!