Question: TITLE Working with Arrays ;Working with Arrays INCLUDE Irvine 3 2 . inc . data arrayD DWORD 1 , 2 , 3 . code main
TITLE Working with Arrays
;Working with Arrays
INCLUDE Irvineinc
data
arrayD DWORD
code
main PROC
mov eax,arrayD
mov ebx,arrayD
mov ecx,arrayD
call DumpRegs ; display registers
exit
main ENDP
end main
Exercise Write a program that sums the elements of a WORD array that is initialized with hhAh Store the final sum in AL register and dump the result
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
