gasp.info: Other Commands

Go forward to Syntax Details
Go backward to Listings
Go up to Commands
Go to the top op gasp

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 (*note 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.