Are these two instructions performing the same operation:
mov $0x80000000, %esp
mov $0x80000000, (%esp)
mov $0x80000000, 0(%esp)
Also, what does this instruction do:
mov (%eax), %eax
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1st:
esp= 0x800000002nd and 3rd: 4 bytes of memory at address from
esp= 0x80000000.Last:
eax= 4 bytes of memory at address fromeax.Btw, the
lsuffix is probably missing. I usually see these instructions asmovl, meaning move a long value (=4 bytes).Find a (g)as or AT&T assembly syntax tutorial. You’re not the first to ask this kind of question.