home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / msdos / programm / 11569 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.0 KB

  1. Path: sparky!uunet!olivea!apple!goofy!NewsWatcher!user
  2. From: rol@grasp1.univ-lyon1.fr (Paul Rolland)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: SIMPLE assembly question...
  5. Message-ID: <rol-221292092834@90.222.1.80>
  6. Date: 22 Dec 92 08:28:56 GMT
  7. References: <gn#@byu.edu>
  8. Sender: usenet@goofy.apple.COM
  9. Followup-To: comp.os.msdos.programmer
  10. Organization: Apple Computer Europe
  11. Lines: 18
  12.  
  13. In article <gn#@byu.edu>, $dougn@sasb.byu.edu (Douglas R. Nebeker -
  14. MIS_SAS) wrote:
  15. > is there ANY difference between  MOV ES,AX
  16. > and                              PUSH AX
  17. >                                  POP ES
  18. >  
  19.  
  20. I think there are two major differences between the two forms :
  21.    - Execution time (only important if your program is time critical, and
  22.      this piece of code is inside a loop) : first solution is faster,
  23.    - the flags are set in the first case, but not in the second (well, I'm
  24.      not absolutely sure, but I really think so...)
  25.  
  26. Paul Rolland
  27.  
  28. A bug can be changed to a feature by documenting it. Developpers know !
  29.