Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Simplified Segment Control
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Select a directive for more information.
 
     Directive       Description
 
     .MODEL          Sets memory model, language, OS, stack
     .STARTUP        Sets up initial segment registers and stack
     .EXIT           Exits program properly
     OPTION PROLOGUE Defines prologue macro for .STARTUP
     OPTION EPILOGUE Defines epilogue macro for .STARTUP
 
     .CODE           Starts CODE segment
     .STACK          Starts STACK segment
     .DATA           Starts initialized DATA segment
     .DATA?          Starts uninitialized DATA segment
     .CONST          Starts constant DATA segment
     .FARDATA        Starts far initialized DATA segment
     .FARDATA?       Starts far uninitialized DATA segment
 
     ASSUME          Declares register assumptions
     ENDS            Ends current segment
 
     See also: Complete Segment Control, Predefined Symbols
                                    -♦-