From owner-freebsd-hackers Sun Oct 28 7:51:33 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from magnesium.net (toxic.magnesium.net [207.154.84.15]) by hub.freebsd.org (Postfix) with SMTP id D14D637B405 for ; Sun, 28 Oct 2001 07:51:28 -0800 (PST) Received: (qmail 59672 invoked by uid 1165); 28 Oct 2001 15:51:28 -0000 Date: 28 Oct 2001 07:51:28 -0800 Date: Sun, 28 Oct 2001 07:51:28 -0800 From: Seth Kingsley To: Matthew Emmerton Cc: hackers@freebsd.org Subject: Re: Simple x86 assembler question Message-ID: <20011028075128.B40700@fluff.meowfishies.com> References: <003901c15f3c$5bdef760$1200a8c0@gsicomp.on.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="eJnRUKwClWJh1Khz" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <003901c15f3c$5bdef760$1200a8c0@gsicomp.on.ca>; from matt@gsicomp.on.ca on Sat, Oct 27, 2001 at 07:08:58PM -0400 X-Operating-System: FreeBSD 4.4-STABLE i386 X-GPG-Key-ID: 1024D/5C413B08 X-GPG-Key-Fingerprint: F772 5D24 02B4 D233 90F5 080F 0F50 3298 5C41 3B08 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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 : 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 : 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