🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6513

Re: SIMPLE assembly question...

#6513
From: Mike Levis
Date: Thu, 17 Dec 1992 08:50
27 lines
1201 bytes
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 :::::  ~--~
Technical Details
Message-ID: <1992Dec17.085056.3566@ringer.cs.utsa.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!swrinde!ringer!mlevis
References: <gn#@byu.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!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