home *** CD-ROM | disk | FTP | other *** search
/ Turbo Toolbox / Turbo_Toolbox.iso / tasm / show87.doc < prev    next >
Text File  |  1988-08-28  |  3KB  |  60 lines

  1.  
  2.  
  3.                                  SHOW87
  4.                   Copyright (c) 1988 Borland International
  5.                             All Rights Reserved
  6.  
  7.        SHOW87 is a memory-resident program that displays the
  8.        entire state of an installed 8087 coprocessor chip when an
  9.        8087 is present. This is useful when you're debugging code
  10.        that contains 8087 instructions.
  11.  
  12.        SHOW87 has two modes of installation. The default is the
  13.        shell mode in which SHOW87 executes a DOS shell, rather
  14.        than making itself truly resident. This allows you to
  15.        de-install SHOW87 by typing EXIT at any DOS prompt. The
  16.        disadvantage of the shell mode is that a second command
  17.        processor must be invoked, which uses an extra 3,000 to
  18.        4,000 bytes of memory. The other installation mode is the
  19.        resident mode, which is specified by the /R parameter.
  20.        SHOW87 uses less memory in this mode, but cannot be
  21.        removed. SHOW87 alone uses about 5,700 bytes of memory.
  22.  
  23.        Once installed, SHOW87 can be invoked at any time by
  24.        pressing Alt-7. Invoking SHOW87 causes most of the upper
  25.        half of the screen to display the flags, registers, and
  26.        other information regarding the 8087. Pressing any key
  27.        exits you from the display and restores the screen.
  28.        Normally, you would install SHOW87 before debugging 8087
  29.        code and then remove SHOW87 when it's no longer needed.
  30.  
  31.        If SHOW87 cannot properly install itself, it will display
  32.        an error message and terminate. The most common reasons
  33.        for such an error are insufficient memory, COMMAND.COM not
  34.        found, or no 80x87 is detected. COMMAND.COM is only needed
  35.        when SHOW87 is run in shell mode. SHOW87 finds the
  36.        COMMAND.COM file by looking for the COMSPEC parameter in
  37.        the environment (see your DOS manual).
  38.  
  39.        SHOW87 displays all 8087 information, including the
  40.        instruction pointer, the operand pointer, the operation
  41.        code; the control, status, and tag words; the precision,
  42.        rounding, and infinity control settings; the stack top;
  43.        the condition codes and their various interpretations; the
  44.        exception settings and interrupt mask settings; and the
  45.        register values.
  46.  
  47.        The condition code settings represent C3, C2, C1, and C0
  48.        respectively. The Comp, Test, and Exam fields display the
  49.        meaning of the condition codes as returned by the FCOM,
  50.        FTST, and FXAM instructions.
  51.  
  52.        Register values are displayed in one of two ways. If the
  53.        number has a tag setting of VALID, the number is displayed
  54.        in decimal format. If the number has a tag setting of
  55.        SPECIAL or EMPTY, a hexadecimal dump of the number is
  56.        displayed. After the mantissa and exponent, the type of
  57.        value (as interpreted by the FXAM instruction) is
  58.        displayed.
  59.  
  60.