X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Charles Sandmann" Newsgroups: comp.os.msdos.djgpp Subject: Re: Assembly Question: Date: Sun, 10 Feb 2002 23:05:59 Organization: Aspen Technology, Inc. Lines: 15 Message-ID: <3c66fcd7.sandmann@clio.rice.edu> References: <000a01c1b296$f2b0dc00$34e2a0c8 AT rjo DOT virtua DOT com DOT br> NNTP-Posting-Host: dcloan.hou.aspentech.com X-Trace: selma.aspentech.com 1013404141 22805 10.32.115.107 (11 Feb 2002 05:09:01 GMT) X-Complaints-To: postmaster AT aspentech DOT com NNTP-Posting-Date: 11 Feb 2002 05:09:01 GMT X-NewsEditor: ED-1.5.8 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > gcc makes the following .S code: (Without the lines numbers.) > 12 _main: > 13 pushl %ebp > 14 movl %esp, %ebp > 15 subl $8, %esp > 16 andl $-16, %esp > What is the purpose of the lines 15 and 16 ? I believe it is to align the stack on a 16-byte boundary for better performance.