Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2000 14:23:14 -0500
From:      "Thomas M. Sommers" <tms2@mail.ptd.net>
To:        hackers@FreeBSD.ORG
Subject:   Re: Doh, compiler bug... (was Re: possible bug in kernel/if_ether.c)
Message-ID:  <38DA6F22.90DB3388@mail.ptd.net>
References:  <20000322225639.T983@reptiles.org> <200003230515.VAA96507@apollo.backplane.com> <20000323054731.W983@reptiles.org> <200003231829.KAA02591@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Dillon wrote:
> 
> :0xc01997a7 <arpintr+123>:       sete   %al
> :0xc01997aa <arpintr+126>:       movzbl %al,%ebx                BING BING BING!
> :0xc01997ad <arpintr+129>:       testl  %ebx,%ebx
> 
[snip] 
>      What the frig is this 'sete' instruction?  And the movzbl ?  Move byte
>      to long?
> 

sete is set byte if equal (zf set). movzbl is as you supposed, 
but with zero extend.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38DA6F22.90DB3388>