NGASM 8086/8088 Assembler v1.4 Beta 2 - INCLUDE Directive



Download
NGASM 8086/8088 Assembler v1.4 Beta 2

The INCLUDE Directive is available from NGASM 8086/8088 Assembler version 1.2.

The INCLUDE Directive is for including, in the main source code file, source code contained in any number of files, for example, common routines contained in separate files.

Syntax

   INCLUDE Drive:\path\filename
Example:

   INCLUDE routines.nga

   routines.nga is provided with NGASM 8086/8088 Assembler v1.4 Beta 2.
   It contains a number of routines used in the 7000 lines
   MANUAL.DOC (free) to expose the result of execution of most
   of the Instructions in the 8086/8088 Instruction Set.

The INCLUDEd file is assembled before any instruction below the INCLUDE Directive is reached. This Directive helps the programmer insert another file in the main source code file. For example, startup code, say, in STARTUP.ASM file can be inserted at the top by placing an INCLUDE statement at the top of the main source code file. If the programmer wants to throw away the startup code after it has done its job to free more memory for other use, he can place the INCLUDE statement at the end of all other code as the last line and write a JMP instruction at the top of the main source code file to transfer control to the startup code when program starts to run.

Example INCLUDE Directive specifying source code file with path:

   INCLUDE C:\NGASM\routines.nga
One INCLUDE Directive can specify only one source code file. File extension must be specified. The source code file's path can be specified along with its name. This helps in easily assembling a program with source code files in different directories. Further, this saves the typing of the filename with full path on the command line each time a program is assembled. The INCLUDE Directive must end in a single line.

All symbols in the main source code file and in all INCLUDEd files are public.

An INCLUDEd file can INCLUDE other files which can INCLUDE other files. There is no limit on the number of files INCLUDEd and the depth level. But any source code file can be INCLUDEd only once for the whole project.




Home     |     Awards     |     RECOVER Floppy Pro v1.0     |     RECOVER Fixed/Floppy Disk FAT32/16/12 v3.0    | Recover Fixed/Floppy Disk v2.2    |     ANALYZER for RECOVER Floppy Pro v0.3 FREEWARE    |     ANALYZER for RECOVER Fixed/Floppy Disk v0.3 FREEWARE    |     Dealing with Multiple Disk Errors     |     100% Data Recovery - How-to    | Floppy Disk Recovery    |    RFD v1.4  FREEWARE    |    NGASM 8086/8088 Assembler    |    Delete Special    |    Search Zip Rar

Google
Systech Software
G.Namasivayam & G.Gurupandian 16, South Veli Street, Madurai Pin 625001, Tamil Nadu, India
E-Mail:info@www.bestdiskrecovery.com





eXTReMe Tracker
FREE hit counter and Internet traffic statistics from freestats.com