KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q44745: /AT Tiny Model and Quick Assembler

Article: Q44745
Product(s): See article
Version(s): 2.01
Operating System(s): MS-DOS
Keyword(s): ENDUSER | | mspl13_masm
Last Modified: 26-JUN-1989

The Tiny model is supported by the Quick Assembler Version 2.01 to
allow for the creation of .COM files. This support alleviates the
required use of EXE2BIN. This memory model is supported in the
following way:

1. Segment _TEXT will be included as the first segment of DGROUP.

2. An "assume" will be done of all segment registers to DGROUP.

3. The code segment will be opened, and an ORG 100h done.

As a result of this change, constructs that result in segment fixups
will be flagged as errors where possible. This includes use of a
segment as an immediate value, and the use of the SEG operator, as in
the following example:

   1. MOV    ax, _DATA
   2. MOV    ax, SEG MySymbol

In the above example, the following new error message will be
generated in Tiny model:

   error 116: Segment reference illegal in tiny model.

Please note that this support for .COM files currently resides only in
the Quick Assembler portion of this package. The possibility of
embedding this support within Quick C is under review and will be
considered for inclusion in a future release.

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.