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>
next in thread | previous in thread | raw e-mail | index | archive | help
--eJnRUKwClWJh1Khz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 27, 2001 at 07:08:58PM -0400, Matthew Emmerton wrote: > In particular, am I interpreting these instructions correctly? >=20 > 0x80839fb <uttstrbyt+43>: movzbl (%edx,%eax,1),%eax >=20 >=20 > Takes %eax + %edx, obtains the byte value in memory at that address, > zero-extends and places into %eax >=20 > 0x80839ff <uttstrbyt+47>: movzwl 0xe90(%ebx,%eax,2),%edx >=20 > Takes %eax + %ebx + 0xe90, obtains the word value in memory at that addre= ss, > zero-extends and places in %edx. http://www.baldwin.cx/386htm/toc.htm Specifically: http://www.baldwin.cx/386htm/MOVZX.htm --=20 || Seth Kingsley || Meow Meow Fluff Fluff || sethk@meowfishies.com || || rndcontrol -s 0 || --eJnRUKwClWJh1Khz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE73CmAD1AymFxBOwgRAsL8AJ9xdR8zEXvGDw70gfVDTza86THafgCeMxol 0f7+qkie1ea03iMeAeSU5bY= =YyHe -----END PGP SIGNATURE----- --eJnRUKwClWJh1Khz-- 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?20011028075128.B40700>