I'm trying to solve this exercise :
Assume that you are given values in eax,ebx,ecx. Write code that adds the values inside all those registers, and stores the final result inside edx.
My code :
mov eax,3
mov ebx,4
mov ecx,1
add edx,eax
add edx,ebx
add edx,ecx
Do I have to initialize the register edx (mov edx,0) ?