home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / intel / 2179 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.6 KB

  1. Path: sparky!uunet!mcsun!sunic!dkuug!dkuug!diku!terra
  2. From: terra@diku.dk (Morten Welinder)
  3. Newsgroups: comp.sys.intel
  4. Subject: Re: Undocumented instructions in x86 CPUs
  5. Message-ID: <1992Nov7.154508.11802@odin.diku.dk>
  6. Date: 7 Nov 92 15:45:08 GMT
  7. References: <mostert.51@cs.sun.ac.za> <1992Nov5.101717.26632@umr.edu> <mostert.54@cs.sun.ac.za>
  8. Sender: terra@rimfaxe.diku.dk
  9. Organization: Department of Computer Science, U of Copenhagen
  10. Lines: 33
  11.  
  12. mostert@cs.sun.ac.za (A. Mostert) writes:
  13.  
  14. >In article <1992Nov5.101717.26632@umr.edu> mcastle@mcs213d.cs.umr.edu (Michael R Castle) writes:
  15. >>In article <mostert.51@cs.sun.ac.za> mostert@cs.sun.ac.za (A. Mostert) writes:
  16. >>>I just became aware of an undocumented instruction that (I think) works on
  17. >>>all members of the x86 family. The opcode is D4 10 and it does this:
  18. >                                            ^^^^
  19. >>>   AH = AL >> 4
  20. >>>   AL = AL & 0xF
  21.  
  22. >>hmm.... listed in my Microprocessors and Peripheral Handbook... AAM 
  23.  
  24. >AAM is opcode D4 0A
  25. >AAD is opcode D5 0A
  26.  
  27. >The second byte is actually a number specifying the base, as various people
  28. >pointed out to me since my original posting. However, only the form with 0A
  29. >as base is officialy documented by Intel. 
  30.  
  31. >Can anyone tell me if this works on the NEC v20/V30 processors ?
  32.  
  33. >A. Mostert
  34. >mostert@cs.sun.ac.za
  35.  
  36. From memory: AAM does, AAD does not.
  37.  
  38. Morten Welinder
  39. terra@diku.dk
  40. -- 
  41. -----------------------------------------------------------
  42. Signature file under construction -- please drive carefully
  43. -----------------------------------------------------------
  44.                              Morten Welinder, terra@diku.dk
  45.