home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.programmer
- Path: sparky!uunet!usc!sdd.hp.com!swrinde!ringer!mlevis
- From: mlevis@ringer.cs.utsa.edu (Mike Levis) (OS/2)
- Subject: Re: SIMPLE assembly question...
- Message-ID: <1992Dec17.085056.3566@ringer.cs.utsa.edu>
- Keywords: assembly mov asm
- Organization: University of Texas at San Antonio
- References: <gn#@byu.edu>
- Date: Thu, 17 Dec 1992 08:50:56 GMT
- Lines: 27
-
- In article <gn#@byu.edu> $dougn@sasb.byu.edu (Douglas R. Nebeker - MIS_SAS) writes:
- >
- >Here is a simple one:
- >
- >is there ANY difference between MOV ES,AX
- >
- >and PUSH AX
- > POP ES
- >
- >(besides the fact that the stack pointers get moved a little)???
-
- MOV ES,AX is faster than PUSH AX + POP ES because it does not access
- memory.
-
- >Does this affect ANY flags?
-
- No, the general register versions of these instructions do not.
-
- >Thanks!
- >
- >Douglas R. Nebeker Internet: $dougn@sasb.byu.edu
-
- --
- ==== Mike Levis mlevis@ringer.cs.utsa.edu ====
- :: ftp ftp-os2.nmsu.edu (128.123.35.151) :: .--.
- :: for OS/2 software & information. Get :: (OS/2)
- :::: the OS/2 FAQL /pub/os2/all/info/faq ::::: ~--~
-