문제

What is the difference between the following statements?

mov %eax,%esp
mov %eax,(%esp)

I'm working on diffusing a binary bomb and am having trouble with a few of the mov and leal commands early on in the assembly.

도움이 되었습니까?

해결책

This copies the value in %eax into %esp.

mov %eax,%esp

This copies the value from %eax to the location in memory that %esp points to.

mov %eax,(%esp)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top