home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / intel / 2178 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.2 KB  |  33 lines

  1. Newsgroups: comp.sys.intel
  2. Path: sparky!uunet!psgrain!ee.und.ac.za!hippo!rga1.itrga.sun.ac.za!mostert
  3. From: mostert@cs.sun.ac.za (A. Mostert)
  4. Subject: Re: Undocumented instructions in x86 CPUs
  5. Message-ID: <mostert.54@cs.sun.ac.za>
  6. Sender: news@hippo.ru.ac.za
  7. Organization: University of Stellenbosch
  8. References: <mostert.51@cs.sun.ac.za> <1992Nov5.101717.26632@umr.edu>
  9. Date: Sat, 7 Nov 1992 11:24:10 GMT
  10. Lines: 21
  11.  
  12. In article <1992Nov5.101717.26632@umr.edu> mcastle@mcs213d.cs.umr.edu (Michael R Castle) writes:
  13. >In article <mostert.51@cs.sun.ac.za> mostert@cs.sun.ac.za (A. Mostert) writes:
  14. >>I just became aware of an undocumented instruction that (I think) works on
  15. >>all members of the x86 family. The opcode is D4 10 and it does this:
  16.                                             ^^^^
  17. >>   AH = AL >> 4
  18. >>   AL = AL & 0xF
  19.  
  20. >hmm.... listed in my Microprocessors and Peripheral Handbook... AAM 
  21.  
  22. AAM is opcode D4 0A
  23. AAD is opcode D5 0A
  24.  
  25. The second byte is actually a number specifying the base, as various people
  26. pointed out to me since my original posting. However, only the form with 0A
  27. as base is officialy documented by Intel. 
  28.  
  29. Can anyone tell me if this works on the NEC v20/V30 processors ?
  30.  
  31. A. Mostert
  32. mostert@cs.sun.ac.za
  33.