Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The GNU Assembler Preprocessor - <b>miscellaneous commands</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Miscellaneous commands
======================

`.ALTERNATE'
     Use the alternate macro syntax henceforth in the assembly.  *Note
     Alternate macro syntax: Alternate.

`.ORG'
     This command is recognized, but not yet implemented.  GASP
     generates an error message for programs that use `.ORG'.

`.RADIX S'
     GASP understands numbers in any of base two, eight, ten, or
     sixteen.  You can encode the base explicitly in any numeric
     constant (String and numeric constants: Constants).  If you   
     write numbers without an explicit indication of the base, the most
     recent `.RADIX S' command determines how they are interpreted.  S
     is a single letter, one of the following:

    `.RADIX B'
          Base 2.

    `.RADIX Q'
          Base 8.

    `.RADIX D'
          Base 10.  This is the original default radix.

    `.RADIX H'
          Base 16.

     You may specify the argument S in lower case (any of `bqdh') with
     the same effects.

`.EXPORT NAME'
`.GLOBAL NAME'
     Declare NAME global (emits `.global NAME').  The two directives
     are synonymous.

`.PROGRAM'
     No effect: GASP accepts this directive, and silently ignores it.

`.END'
     Mark end of each preprocessor file.  GASP issues a warning if it
     reaches end of file without seeing this command.

`.INCLUDE "STR"'
     Preprocess the file named by STR, as if its contents appeared
     where the `.INCLUDE' directive does.  GASP imposes a maximum limit
     of 30 stacked include files, as a sanity check.

`.ALIGN SIZE'
     Evaluate the absolute expression SIZE, and emit the assembly
     instruction `.align SIZE' using the result.


See Also: Constants

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson