From owner-freebsd-questions@FreeBSD.ORG Wed Mar 3 23:25:28 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33C5916A4CE for ; Wed, 3 Mar 2004 23:25:28 -0800 (PST) Received: from priv-edtnes51.telusplanet.net (outbound04.telus.net [199.185.220.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AC8143D1D for ; Wed, 3 Mar 2004 23:25:25 -0800 (PST) (envelope-from cpressey@catseye.mine.nu) Received: from catseye.biscuit.boo ([154.5.85.228]) by priv-edtnes51.telusplanet.netSMTP <20040304072524.UHHQ27564.priv-edtnes51.telusplanet.net@catseye.biscuit.boo>; Thu, 4 Mar 2004 00:25:24 -0700 Date: Wed, 3 Mar 2004 23:30:19 -0800 From: Chris Pressey To: chungwei Hsiung Message-Id: <20040303233019.1bd37b4a.cpressey@catseye.mine.nu> In-Reply-To: <20040303181343.0fafed01@bear.bflony.adelphia.net> References: <20040303181343.0fafed01@bear.bflony.adelphia.net> Organization: Cat's Eye Technologies X-Mailer: Sylpheed version 0.9.9 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: one simple question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 07:25:28 -0000 On Wed, 3 Mar 2004 18:13:43 +0000 chungwei Hsiung wrote: > Hello.. > I have a simple question, but I am not sure what the answer is. If > anyone can possibly help me, it is really appreciated. I compile a > test C file. I notice there are a few lines at the beginning of the > assembly code. I want to know what it means, but can't figure out > one of them. Can anyone tell me what the following line does please? > > and $0xfffffff0,%esp > > best regards > Chungwei Hi Chungwei, I believe that instruction is used to align the stack pointer to a 16-byte boundary, for efficiency. However, this is just a guess, based on some discussions I've seen. I don't know for certain. You may have better luck asking on hackers@freebsd.org. -Chris