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)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…