Assembler generated by gcc

saurabh verma saurabh.verma@codito.com
Thu Apr 8 07:21:00 GMT 2004


hi,
  the instructions before the movl are the default prologue generated
for a function for setting up the activation record for it.It sets up
the stack and frame pointer for the fundtion's code to work properly.In
case of such simple functions,where stack is not needed you can do away
with it.gcc -O2 <file> -S may be more to ur liking :)

saurabh



More information about the Gcc-help mailing list