🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: SIMPLE assembly question...

#6157
From: Paul Rolland
Date: Tue, 22 Dec 1992 08:28
18 lines
1070 bytes
In article <gn#@byu.edu>, $dougn@sasb.byu.edu (Douglas R. Nebeker -
MIS_SAS) wrote:
> 
> is there ANY difference between  MOV ES,AX
> 
> and                              PUSH AX
>                                  POP ES
>  

I think there are two major differences between the two forms :
   - Execution time (only important if your program is time critical, and
     this piece of code is inside a loop) : first solution is faster,
   - the flags are set in the first case, but not in the second (well, I'm
     not absolutely sure, but I really think so...)

Paul Rolland

A bug can be changed to a feature by documenting it. Developpers know !
Technical Details
Message-ID: <rol-221292092834@90.222.1.80>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!apple!goofy!NewsWatcher!user
References: <gn#@byu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!apple!goofy!NewsWatcher!user
From: rol@grasp1.univ-lyon1.fr (Paul Rolland)
Newsgroups: comp.os.msdos.programmer
Subject: Re: SIMPLE assembly question...
Message-ID: <rol-221292092834@90.222.1.80>
Date: 22 Dec 92 08:28:56 GMT
References: <gn#@byu.edu>
Sender: usenet@goofy.apple.COM
Followup-To: comp.os.msdos.programmer
Organization: Apple Computer Europe
Lines: 18