home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / pascal / 5181 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  2.2 KB

  1. Path: sparky!uunet!mcsun!sunic!dkuug!diku!terra
  2. From: terra@diku.dk (Morten Welinder)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: Turbo Pascal 6.0 bug list (long!)
  5. Message-ID: <1992Sep3.084851.823@odin.diku.dk>
  6. Date: 3 Sep 92 08:48:51 GMT
  7. References: <182gb5INNsm4@iraul1.ira.uka.de>
  8. Sender: terra@gimle.diku.dk
  9. Organization: Department of Computer Science, U of Copenhagen
  10. Lines: 61
  11.  
  12. S_JUFFA@iravcl.ira.uka.de (|S| Norbert Juffa) writes:
  13.  
  14. >y++++++++++++++++++++++ Bug List TURBO-Pascal 6.0 ++++++++++++++++++++++++++++++
  15.  
  16. >...
  17.  
  18.  
  19. >19. Other bugs in the inline assembler (ASM directive)
  20.  
  21. ...
  22.  
  23. >     Although it is not officially documented by Intel, the AAM and AAD
  24. >     instructions may take additional arguments that indicate the base
  25. >     on which to perform the conversion. This is supported by the inline
  26. >     assembler. However, it accepts arguments between -128 and 127 while
  27. >     it should accept bases between 0 and 255, since the bases available
  28. >     with AAM and AAD must be positive.
  29.  
  30. I seem to remember that not all clones get the AAD right; be warned.
  31.  
  32. >...
  33.  
  34.  
  35. >22. Inconsistent error messages emitted by inline assembler
  36.  
  37. >...
  38.  
  39.  
  40. >     There are space saving sign extending encodings available for OR,
  41. >     AND, and XOR instructions that the inline assembler fails to use.
  42. >     These encodings are the equivalents of the sign extending encodings
  43. >     used with the ADD, ADC, SUB, SBB, and CMP instructions. A list of
  44. >     the additional instructions follows:
  45.  
  46. >     Instruction          | Encoding
  47. >     ---------------------+-------------------------------------------
  48. >     OR  reg16, const8    | 83   mod 001 r/m    data8
  49. >     OR  mem16, const8    | 83   mod 001 r/m   (disp)   (disp)   data8
  50. >     AND reg16, const8    | 83   mod 100 r/m    data8
  51. >     AND mem16, const8    | 83   mod 100 r/m   (disp)   (disp)   data8
  52. >     XOR reg16, const8    | 83   mod 110 r/m    data8
  53. >     XOR mem16, const8    | 83   mod 110 r/m   (disp)   (disp)   data8
  54.  
  55.  
  56. These are not documented. All clones seem to get them right, though.
  57.  
  58. >...
  59.  
  60.  
  61. >30. Help bug
  62.  
  63. >     Context sensitive help (Ctrl-F1) for the predefined arrays Port
  64. >     and PortW is missing. There was no help for these arrays in TP5.5
  65. >     as well.
  66.  
  67. What about PortL?
  68.  
  69. >...
  70.  
  71. Morten Welinder
  72. terra@diku.dk
  73.