KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q65591: Screen Output Fails When Using Animate with Assembly Files

Article: Q65591
Product(s): See article
Version(s): 2.51
Operating System(s): MS-DOS
Keyword(s): ENDUSER | buglist2.51 | mspl13_masm
Last Modified: 17-OCT-1990

While debugging an assembler program under Microsoft QuickAssembler
version 2.51, if Animate is selected from the Run menu, the code below
will not print anything to the output screen if Screen Swap is set to
On in the Options Run/Debug menu.

Sample Code
-----------

        TITLE   HELLO
        .MODEL  small, c
        DOSSEG

        .STACK  100h

        .DATA
msg     DB      "Hello, world.", 13, 10, "$"

        .CODE
        .STARTUP

        mov     ah, 9h
        mov     dx, OFFSET msg

        int     21h

        .EXIT   0

        END

The following are three valid workarounds:

1. In the Run menu, disable Animate.

2. Make sure Screen Swap is set to On, and then trace (F8) or Step
   (F10) through the program instead.

Microsoft has confirmed this to be a problem with QuickAssembler
version 2.51. We are researching this problem and will post new
information here as it becomes available.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.