one simple question

Chris Pressey cpressey at catseye.mine.nu
Wed Mar 3 23:25:28 PST 2004


On Wed, 3 Mar 2004 18:13:43 +0000
chungwei Hsiung <skuma17 at yahoo.com> 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 at freebsd.org.

-Chris


More information about the freebsd-questions mailing list