home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / msdos / programm / 11473 < prev    next >
Encoding:
Text File  |  1992-12-17  |  1.1 KB  |  39 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!usc!sdd.hp.com!swrinde!ringer!mlevis
  3. From: mlevis@ringer.cs.utsa.edu (Mike Levis) (OS/2)
  4. Subject: Re: SIMPLE assembly question...
  5. Message-ID: <1992Dec17.085056.3566@ringer.cs.utsa.edu>
  6. Keywords: assembly mov asm 
  7. Organization: University of Texas at San Antonio
  8. References: <gn#@byu.edu>
  9. Date: Thu, 17 Dec 1992 08:50:56 GMT
  10. Lines: 27
  11.  
  12. In article <gn#@byu.edu> $dougn@sasb.byu.edu (Douglas R. Nebeker - MIS_SAS) writes:
  13. >
  14. >Here is a simple one:
  15. >
  16. >is there ANY difference between  MOV ES,AX
  17. >
  18. >and                              PUSH AX
  19. >                                 POP ES
  20. >(besides the fact that the stack pointers get moved a little)???
  21.  
  22. MOV ES,AX is faster than PUSH AX + POP ES because it does not access
  23. memory.
  24.  
  25. >Does this affect ANY flags?
  26.  
  27. No, the general register versions of these instructions do not.
  28.  
  29. >Thanks!
  30. >
  31. >Douglas R. Nebeker         Internet: $dougn@sasb.byu.edu
  32.  
  33. -- 
  34. ==== Mike Levis   mlevis@ringer.cs.utsa.edu ====
  35. ::   ftp ftp-os2.nmsu.edu (128.123.35.151)    ::  .--.
  36. ::   for OS/2 software & information.  Get    :: (OS/2)
  37. :::: the OS/2 FAQL   /pub/os2/all/info/faq :::::  ~--~
  38.