EnglishFrenchSpanish

OnWorks favicon

m68hc11-gasp - Online in the Cloud

Run m68hc11-gasp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command m68hc11-gasp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gasp - a preprocessor for assembly programs

SYNOPSIS


gasp [-a|--alternate] [-c CHAR | --commentchar CHAR] [-d|--debug] [-h|--help] [-M|--mri]
[-o OUTFILE | --output OUTFILE] [-p|--print] [-s|--copysource] [-u|--unreasonable]
[-v|--version] INFILE ...

DESCRIPTION


The primary purpose of the GNU assembler is to assemble the output of other
programs--notably compilers. When you have to hand-code specialized routines in assembly,
that means the GNU assembler is an unfriendly processor: it has no directives for macros,
conditionals, or many other conveniences that you might expect.

In some cases you can simply use the C preprocessor, or a generalized preprocessor like
M4; but this can be awkward, since none of these things are designed with assembly in
mind.

gasp fills this need. It is expressly designed to provide the facilities you need with
hand-coded assembly code. Implementing it as a preprocessor, rather than part of the
assembler, allows the maximum flexibility: you can use it with hand-coded assembly,
without paying a penalty of added complexity in the assembler you use for compiler output.

INFILE... are the files to be preprocessed.

OPTIONS


The simplest way to use GASP is to run it as a filter and assemble its output. In Unix
and its ilk, you can do this, for example:

$ gasp prog.asm | as -o prog.o

Naturally, there are also a few command-line options to allow you to request variations on
this basic theme. Here is the full set of possibilities for the GASP command line.

-a

--alternate
Use alternative macro syntax. *Note Alternate macro syntax: Alternate, for a
discussion of how this syntax differs from the default GASP syntax.

-c CHAR

--commentchar CHAR
Use CHAR as the comment character. The default comment character is `!'. For
example, to use a semicolon as the comment character, specify `-c ';'' on the GASP
command line. Since assembler command characters often have special significance
to command shells, it is a good idea to quote or escape CHAR when you specify a
comment character.

For the sake of simplicity, all examples in this manual use the default comment
character `!'.

-d

--debug
Show debugging statistics. In this version of GASP, this option produces
statistics about the string buffers that GASP allocates internally. For each
defined buffersize S, GASP shows the number of strings N that it allocated, with a
line like this:

strings size S : N

GASP displays these statistics on the standard error stream, when done
preprocessing.

-h

--help Display a summary of the GASP command line options.

-M

--mri Use MRI compatibility mode. Using this option causes GASP to accept the syntax and
pseudo-ops used by the Microtec Research `ASM68K' assembler.

-o OUTFILE

--output OUTFILE
`-o OUTFILE' `--output OUTFILE' Write the output in a file called OUTFILE. If you
do not use the `-o' option, GASP writes its output on the standard output stream.

-p

--print
Print line numbers. GASP obeys this option _only_ if you also specify `-s' to copy
source lines to its output. With `-s -p', GASP displays the line number of each
source line copied (immediately after the comment character at the beginning of the
line).

-s

--copysource
Copy the source lines to the output file. Use this option to see the effect of
each preprocessor line on the GASP output. GASP places a comment character (`!' by
default) at the beginning of each source line it copies, so that you can use this
option and still assemble the result.

-u

--unreasonable
Bypass "unreasonable expansion" limit. Since you can define GASP macros inside
other macro definitions, the preprocessor normally includes a sanity check. If
your program requires more than 1,000 nested expansions, GASP normally exits with
an error message. Use this option to turn off this check, allowing unlimited
nested expansions.

-v

--version
Display the GASP version number.

INFILE ...
The input file names. You must specify at least one input file; if you specify
more, GASP preprocesses them all, concatenating the output in the order you list
the INFILE arguments.

Mark the end of each input file with the preprocessor command `.END'.

Use m68hc11-gasp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 2
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 3
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • 4
    Apache OpenOffice Extensions
    Apache OpenOffice Extensions
    The official catalog of Apache
    OpenOffice extensions. You'll find
    extensions ranging from dictionaries to
    tools to import PDF files and to connect
    with ext...
    Download Apache OpenOffice Extensions
  • 5
    MantisBT
    MantisBT
    Mantis is an easily deployable, web
    based bugtracker to aid product bug
    tracking. It requires PHP, MySQL and a
    web server. Checkout our demo and hosted
    offerin...
    Download MantisBT
  • 6
    LAN Messenger
    LAN Messenger
    LAN Messenger is a p2p chat application
    for intranet communication and does not
    require a server. A variety of handy
    features are supported including
    notificat...
    Download LAN Messenger
  • More »

Linux commands

  • 1
    abidw
    abidw
    abidw - serialize the ABI of an ELF
    file abidw reads a shared library in ELF
    format and emits an XML representation
    of its ABI to standard output. The
    emitted ...
    Run abidw
  • 2
    abilint
    abilint
    abilint - validate an abigail ABI
    representation abilint parses the native
    XML representation of an ABI as emitted
    by abidw. Once it has parsed the XML
    represe...
    Run abilint
  • 3
    coresendmsg
    coresendmsg
    coresendmsg - send a CORE API message
    to the core-daemon daemon ...
    Run coresendmsg
  • 4
    core_server
    core_server
    core_server - The primary server for
    SpamBayes. DESCRIPTION: Currently serves
    the web interface only. Plugging in
    listeners for various protocols is TBD.
    This ...
    Run core_server
  • 5
    fwflash
    fwflash
    fwflash - program to flash image file
    to a connected NXT device ...
    Run fwflash
  • 6
    fwts-collect
    fwts-collect
    fwts-collect - collect logs for fwts
    bug reporting. ...
    Run fwts-collect
  • More »

Ad