+ 1
Can someone explain me the difference between mov eax, msg and mov eax, [msg] ? Thanks a lot!
I'm not sure, but I think that : mov eax, [msg] moves the address of msg in eax register... If someone can explain me... with : dd msg 'Hello world!'
3 Respuestas
+ 9
Yes mov is an statement which is used to transfer information one address information(data) to the other stated location
MOV eax,[msg]
Will move the content of msg to eax which is hello world
or you can do
MVI A,msg
MOV eax,A
+ 1
Jamie thanks a lot. I began learning assembly few days ago, and some things weren't clear for me...
I know how assembly language is difficult but I want to know how does a computer work.
Once again : thanks guys ! 😉
0
Thanks a lot!