문제

When compiling the following instruction:

movl 4(%ebp), 8(%ebp)

I got: too many memory reference.

What's wrong with it?

도움이 되었습니까?

해결책

The number before the parenthesis is a byte offset (which causes a memory reference to occur), and you cannot have two of them with movl. You need to move the value temporarily to a register first.

movl 4(%ebp), %ecx
movl %ecx, 8(%ebp)

다른 팁

It is not a legal instruction. For most instructions that reference memory you must move it to/from a register.

xpath2.0의 "NoFollow"> 색소폰 를 사용할 수 있습니다.Xalan은 그것을 위해 프로토 타입을 가지고 있지만 이것은 공식 빌드, http://www.stylusstudio.com/xsllist/200212/post70030.html.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top