Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2001 07:51:28 -0800
From:      Seth Kingsley <sethk@meowfishies.com>
To:        Matthew Emmerton <matt@gsicomp.on.ca>
Cc:        hackers@freebsd.org
Subject:   Re: Simple x86 assembler question
Message-ID:  <20011028075128.B40700@fluff.meowfishies.com>
In-Reply-To: <003901c15f3c$5bdef760$1200a8c0@gsicomp.on.ca>; from matt@gsicomp.on.ca on Sat, Oct 27, 2001 at 07:08:58PM -0400
References:  <003901c15f3c$5bdef760$1200a8c0@gsicomp.on.ca>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sat, Oct 27, 2001 at 07:08:58PM -0400, Matthew Emmerton wrote:
> In particular, am I interpreting these instructions correctly?
> 
> 0x80839fb <uttstrbyt+43>:       movzbl (%edx,%eax,1),%eax
> 
> 
> Takes %eax + %edx, obtains the byte value in memory at that address,
> zero-extends and places into %eax
> 
> 0x80839ff <uttstrbyt+47>:       movzwl 0xe90(%ebx,%eax,2),%edx
> 
> Takes %eax + %ebx + 0xe90, obtains the word value in memory at that address,
> zero-extends and places in %edx.

http://www.baldwin.cx/386htm/toc.htm

Specifically:

http://www.baldwin.cx/386htm/MOVZX.htm

-- 
|| Seth Kingsley || Meow Meow Fluff Fluff || sethk@meowfishies.com ||
|| rndcontrol -s 0                                                 ||

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE73CmAD1AymFxBOwgRAsL8AJ9xdR8zEXvGDw70gfVDTza86THafgCeMxol
0f7+qkie1ea03iMeAeSU5bY=
=YyHe
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011028075128.B40700>