I am looking into assembly code generated by GCC. But I don\'t understand:
movl $0x2d, 0x4(%esp)
In the second operand, what does 0x4
You're accessing something four bytes removed from where the stack pointer resides. In GCC this indicates a parameter (I think -- positive offset is parameters and negative is local variables if I remember correctly). You're writing, in other words, the value 0x2D into a parameter. If you gave more context I could probably tell you what was going on in the whole procedure.