assemprgm1

# assemprgm1 - Next find the sum of list2 and put it in sum2...

This preview shows pages 1–2. Sign up to view the full content.

Sheet1 Page 1 CSE 2240 PROGRAM 1 INCLUDE Irvine32.inc .data list1 sbyte 10, 20, -100, 33,9 sum1 sbyte 0 list2 word 1001h, 2002h, 3003h,6000h sum2 word 0 list3 dword 12345678h, 30AA9092h, 2798h sum3 dword 0 list4 byte 194, 212, 229 sum4 word 0 .code main PROC call DumpRegs c call DumpMem c main ENDP END main

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Sheet1 Page 2 Trent Moore This program calculates the sum of the three elements in list1 and stores the sum in sum1.
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Next, find the sum of list2 and put it in sum2. Next, calculate the sum of list3 and place it in sum3. Finally, calculate the sum of list4 and place it in sum4. Use DumpMem to verify the correctness of your code. Be careful, summing list4 will be tricky....
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern