TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: SERKAN KENAR
from: SAM IZZO
date: 1998-02-08 00:04:00
subject: Re: Extended Registers

 -=> Quoting Serkan Kenar to All <=-
 SK> What is the best way of getting the high word of EAX ?
rol eax, 16
that'll swap the high word with the low word
shr eax, 16
After that, ax will contain the high word, and the actual upper 16-bits will
have been destroyed.
Sam
... "Its ensign Pencil."  "He's lead, Jim."
--- FMail/386 1.20+
---------------
* Origin: Comms Barrier BBS +61.3.9585.1112, +61.3.9583.6119 (3:632/533)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.