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

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

View Full Document Right Arrow Icon
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
Background image of page 1

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

View Full DocumentRight Arrow Icon
Sheet1 Page 2 Trent Moore This program calculates the sum of the three elements in list1 and stores the sum in sum1.
Background image of page 2
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

This note was uploaded on 04/05/2010 for the course CSE 2240 taught by Professor Staff during the Fall '08 term at Southern Methodist.

Page1 / 2

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

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online