home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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 !
-